Linda Walsh
2011-Jun-28 02:05 UTC
[Samba] cygwin 'QueryUserInfo' fails dueto samba error. Wazup?
I made progress in tracking down a problem on cygwin that's been bothering me for a while since Win7 and domain. when I do:> mkpasswd -Dmkpasswd (434): [31] A device attached to the system is not functioning. A network trace shows that it's trying to get the home dir information from my main user. Wwhen it queries the info Samba returns STATUS UNSUCCESSFUL (indicated in network status of trace). in the log, I see : [2011/06/27 17:41:16.099526, 3] smbd/service.c:845(make_connection_snum) Connect path is '/var/tmp' for service [IPC$] [2011/06/27 17:41:16.099526, 3] smbd/vfs.c:102(vfs_init_default) Initialising default vfs hooks [2011/06/27 17:41:16.099526, 3] smbd/vfs.c:128(vfs_init_custom) Initialising custom vfs hooks from [/[Default VFS]/] [2011/06/27 17:41:16.099526, 3] smbd/service.c:1095(make_connection_snum) athenae (192.168.3.140) connect to service IPC$ initially as user lindaw (uid=5013, gid=201) (pid 18720) [2011/06/27 17:41:16.099526, 3] smbd/msdfs.c:870(get_referred_path) get_referred_path: |home| in dfs path \Bliss\home is not a dfs root. ---- Um...what does that mean? ---- I'm trying to check what wbinfo thinks -- and that might hold a clue to the problem, as it's got it's own confusion. It lists the expected users and groups (with no Domain prefix in front of them -- this is right? right, for running on the DC?), it also shows: # wbinfo -p Ping to winbindd succeeded # wbinfo --all-domains BUILTIN BLISS # wbinfo --own-domain BLISS # wbinfo --trusted-domains BUILTIN BLISS # wbinfo --online-status BLISS BUILTIN : online BLISS : online # wbinfo -P checking the NETLOGON dc connection succeeded # wbinfo --getdcname BLISS Could not get dc name for BLISS ^^^^^ ^ --This is the first indication of a problem....also when I try wbinfo --dsgetdcname.... it just goes off and thinks about it. (don't know if it ever would come back...waited about 30 seconds, but gave up) I can map a uid to a sid: # wbinfo --uid-to-sid=5013 S-1-5-21-33333-77777-33333-80026 but I can't ask about a user (w/ or w/o the domainname in front of it): # wbinfo -i [domain\\]username failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND Ideals? about any of these? Conceivably all my bases are belong to idiot, but, 'most things work'... I've been trying some changes, but have made things worse (and then better again)...and now am a bit better than when I started, but am stumped on how to proceed... *sigh* help? Linda
Linda Walsh
2011-Jun-28 02:55 UTC
[Samba] cygwin 'QueryUserInfo' fails dueto samba error. Wazup?
I'm also seeing messages from nmbd saying (msgs reformatted/truncated for readability). wins...request: Name refresh for name BLISS<00> IP 192.168.3.12 wins...request: Name BLISS<00> group bit = True does not match group \ bit in WINS for this name. wins...request: Name refresh for name BLISS<00> IP 192.168.3.140 wins...request: Name BLISS<00> group bit = True does not match group \ bit in WINS for this name. In monitoring logs, saw that the browse list was dumped into /var/lib/samba/browse.dat, so decided to check it out. For my server/DC, I see the following entries: "BLISS" c0001000 "ISHTAR" "BLISS" "ISHTAR" 408d9b2b "Bliss on Ishtar running Samba 3.6.0rc2" "BLISS" "BLISS" 40809a2b "Bliss on Ishtar running Samba 3.6.0rc2" "BLISS" --- --- May not be related to original problem (may be something completely different, but thought I would mention it if pertinent).
Volker Lendecke
2011-Jun-28 06:13 UTC
[Samba] cygwin 'QueryUserInfo' fails dueto samba error. Wazup?
On Mon, Jun 27, 2011 at 07:05:13PM -0700, Linda Walsh wrote:> I made progress in tracking down a problem on cygwin that's been bothering > me for a while since Win7 and domain. > > when I do: > >mkpasswd -D > mkpasswd (434): [31] A device attached to the system is not functioning. > > A network trace shows that it's trying to get the home dir > information from my main user. Wwhen it queries the info Samba > returns STATUS UNSUCCESSFUL (indicated in network status of trace).Please get us the full network trace and debug level 10 log. Thanks, Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen
Apparently Analagous Threads
- why is my "nmbd" confused about network interfaces?
- Concern: rsync failing to find some attributes in a file transfer?
- Can I authenticate with windows UPN names using winbind? If so how?
- Can't find domain (but domain logins for joined WS and roaming profile works! ; -/ !
- 0 length domain name & SCHANNEL can't be used to fetch trust account password?