1,219 reputation
817
bio website
location
age
visits member for 5 years, 2 months
seen 17 hours ago

Aug
26
answered VPN connection over SSH
Aug
26
comment Tool or script to detect moved or renamed files on Linux prior to a backup
so even though the files at my customer's location do not move about, we keep their files in different directories going back day1, day2, day3,...,dayX. Hard linking and rsycing only the differences. Hope this helps.
Aug
26
comment Tool or script to detect moved or renamed files on Linux prior to a backup
so on the system you are syncing FROM, I assume the files do not move then. Is it possible to keep both structures in sync at both ends then while using the hard link option? Part of what I do for a living is provide on-line backups for customers and we use this approach to keep a typical 7 days of retension in sync.
Aug
26
comment what is reliable way of getting name of primary domain controller?
By PDC, do you mean the PDC Emulator role or, possibly, looking to figure out which DC is Global Catalog master/replica? And which versions of Windows? 2003, 2008, 2008R2??? On the command line, you can dump the roles with: netdom query /domain:<your NB domain name> fsmo
Aug
24
comment Resource usage of mapped drives versus network location shortcuts?
maybe true and if so that would prove my point that it's an app and not the network layer protocol itself.
Aug
24
answered windows 2008 DNS Website without www?
Aug
23
answered Tool or script to detect moved or renamed files on Linux prior to a backup
Aug
23
answered Application intermittent “Not Responding”
Aug
23
comment Limit a database's max disk size and limit user total database size usage
I don't quite understand why you would want to do this at the DB level; maybe giving more insight of what you're doing would lead to a better design? Sounds like a design level question to me. So assuming you have a valid reason, I have to ask: what do you expect the app tier to do when the DB runs out of space?
Aug
23
answered Resource usage of mapped drives versus network location shortcuts?
Aug
23
revised How to setup a web server with remote SMTP
deleted 57 characters in body
Aug
23
answered How to setup a web server with remote SMTP
Aug
18
comment Best way to segment traffic, Vlan or subnet
"IP subnets and broadcast / collision domains have nothing to do with each other in the general case." No, they most certainly do in the general case. Each subnet has a network number and an associated broadcast address. Apart from ARP, you have other broadcast packets. It would be wrong to make this statement not knowing if they have multicast traffic on their network. DHCP clients uses IP broadcasting to learn of DHCP servers.
Jun
28
answered User in passdb, but getpwnam() fails!
Jun
23
revised User in passdb, but getpwnam() fails!
added 683 characters in body
Jun
22
revised User in passdb, but getpwnam() fails!
added 562 characters in body; edited tags; added 48 characters in body
Jun
22
comment User in passdb, but getpwnam() fails!
I began looking at Samba source code. I found this function: auth_serversupplied_info *result; const char *username = pdb_get_username(sampass); pwd = getpwnam_alloc(result, username) pwd evaluates to NULL even though username is valid. getpwnam_alloc allocates memory for result structure and fills it with the Unix UID, primary GID, etc... Everything I read says that this call uses NSS. I hope someone from Samba team who has knowledge of this than I can chime in.
Jun
22
comment User in passdb, but getpwnam() fails!
no, oddly enough I can see the LDAP getting queried for the test user with the correct arguments and err=0 nentries=1 so I know LDAP is returning a result set.
Jun
22
comment User in passdb, but getpwnam() fails!
something else: The admin account is in both LDAP and /etc/passwd. If I remove the files parameter from nsswitch.conf leaving only ldap (getent passwd dumps only ldap entries) I am able to still login with the admin account. The test account still fails to login; test is only in the LDAP database. It's as if Smbd is not using NSS consistently or more like a glibc issue. ld shows no missing library links. And I did restart LDAP server between checks to rule out caching.
Jun
22
comment User in passdb, but getpwnam() fails!
how can that be though if I can SSH into the same host with an account that only exists in LDAP? I've done nothing to compile or configure openssl to bind to LDAP. Additionally, id test returns details for user test which is only in LDAP database.