Hi All, When trying to map my SAMBA share from WinXP, it prompted me for name and password but it failed when I used name@domain.com However, using "domain\name" worked. Any idea why my SAMBA server didn't accept this name style name@domain ? Assume: Realm (AD domain): domain.com Pre-windows2000: domain Username: name Samba server: 3.0.7 (soon will switch to latest) Am I missing something, I thought SAMBA should support it. Did I miss any important param at smb.conf ? Cheers, Ephi
>When trying to map my SAMBA share from WinXP, it prompted me for name >and password but it failed when I used name@domain.com >However, using "domain\name" worked. > >Any idea why my SAMBA server didn't accept this name style name@domain > >Because it's an invalid syntax. In the windows world it's DOMAIN\username, end of story. Also, is your windows domain named domain.com (substituting real values of course) as opposed to just domain? If so you're probably also seeing plenty of errors with joined machines looking for DNS entries that would only exist in an LDAP setup. -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
Hi Paul, Thanks for your reply. I am not sure I understand. Most likely I haven't explained myself good enough. You said:>Because it's an invalid syntax. In the windows world it'sDOMAIN\username, end of story. I tested that syntax (name@domain) with mapping a share from windows 2003 server and this syntax is perfectly right and works like a Swiss Watch. In fact, I thought that in complex environment with multiple domains and sub domains and trusts between domain it should be very common to use name@doamin and I thought that the syntax domain\name is more like a pre-windows2000 syntax. Of course I now that "domain" in the name@domain style meaning the Active Directory domain name (what samba called realm name) and "domain" in "domain\name" means the pre-windows (netbios name). For example: Active Directory domain name: london.agami.com Pre-windows2000 domain name: london User name: ephi Now I have samba server that joined this domain in ADS style. I also have another win2003 that joined that domain. Samba and the other windows 2003 server both have one share each. When I go to winxp client to map those shares I can use both styles (ephi@london.agami.com and london\ephi) when prompoted to put username/password. HOWEVER, samba does not like me to use ephi@london.agami.com, ONLY london\ephi worked. I hope I explained my point better. I guess, all I am asking is why samba (maybe only my samba) server doesn't allow me to use "name@realm", meaning only "netbiosDomain\name" works. Cheers, Ephi -----Original Message----- From: Paul Gienger [mailto:pgienger@ae-solutions.com] Sent: Wednesday, May 25, 2005 5:45 AM To: Ephi Dror Cc: samba@lists.samba.org Subject: Re: [Samba] mapping with username: "user@domain" failed>When trying to map my SAMBA share from WinXP, it prompted me for name >and password but it failed when I used name@domain.com However, using >"domain\name" worked. > >Any idea why my SAMBA server didn't accept this name style name@domain > >Because it's an invalid syntax. In the windows world it's DOMAIN\username, end of story. Also, is your windows domain named domain.com (substituting real values of course) as opposed to just domain? If so you're probably also seeing plenty of errors with joined machines looking for DNS entries that would only exist in an LDAP setup. -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
Hi Jerry, Yes, indeed. However in my case: bash-2.05b# rpcclient london -U administrator -W AD -c 'lookupnames ephi@london.agami.com ephi' added interface ip=10.123.5.217 bcast=10.123.255.255 nmask=255.255.0.0 Connecting to host=london Connecting to 10.123.4.118 at port 445 lsa_io_sec_qos: length c does not match size 8 lsa_io_sec_qos: length c does not match size 8 ephi@london.agami.com S-0-0 (UNKNOWN: 8) ephi S-1-5-21-45314761-971213719-2739376339-1124 (User: 1) My AD domain is win2003 and I use a full name (ephi@london.agami.com) Cheers, Ephi -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Wednesday, May 25, 2005 10:37 AM To: Ephi Dror Cc: Paul Gienger; samba@lists.samba.org Subject: Re: [Samba] mapping with username: "user@domain" failed -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ephi Dror wrote:> HOWEVER, samba does not like me to use ephi@london.agami.com, ONLY > london\ephi worked. > > I hope I explained my point better. > > I guess, all I am asking is why samba (maybe only my samba) server > doesn't allow me to use "name@realm", meaning only"netbiosDomain\name"> works.Is this what you mean ? https://bugzilla.samba.org/show_bug.cgi?id=1909 cheer,s jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFClLemIR7qMdg1EfYRArzoAJ0SErVsG82jkeGWlMKvHADktGfkSQCcDGAd EZ83HDy95oq0Yz52UJ16ewI=B5ds -----END PGP SIGNATURE-----