Re: [Samba] windows env variable for USERDOMAIN is wrong

2005-12-18 Thread Greg Fischer
I am not logged in locally. I checked for that. I did, however, find a cure... since it's a new install with new user accts, I just deleted the samba account and recreated it. (not the unix acct) smbpasswd -x username smbpasswd -a username The user then had the domain name set correctly for U

Re: [SAMBA] getpeername failed

2005-12-18 Thread Dennis B. Hopp
Franck Y wrote: Hello, Thanks for your reply ! Not something in particular but i get more when i was doing a backup It s so weird. I think it something with acces to files u don t know and it pi**ing me off... Franck To my understanding Windows (XP at least) tries to connect to both port

Re: [Samba] Samba 3: "restrict anonymous = 2" breaks domain joining

2005-12-18 Thread Andrew Bartlett
On Sun, 2005-12-18 at 16:12 +0100, Marek Szuba wrote: > Hello, > As it turned out, the setting which made me unable to join the domain > from the Linux box itself by calling "net -U domadm join DOMAIN" was > "restrict anonymous = 2". When it is set, executing the command fails > after a few second

RE: [Samba] windows env variable for USERDOMAIN is wrong

2005-12-18 Thread Jesse Spangenberger
Quote: Hi all, I just setup my Samba PDC. Mostly everything works, but I am wondering why on some clients, they have the wrong USERDOMAIN environment variable. (when you run 'set' in win xp cmd) The domain name is MEIDLING, and the user and computer are joined ok. But in set, it shows USERD

[Samba] WXPPSP2 issue

2005-12-18 Thread Jon Miller
Having a problem connecting to a Samba v3 server (domain ). Does anyone have any traces from a ethereal trace or any special info that I can look at. User has account in /etc/passwd file also in smbpasswd file. PC has account in /etc/smbpasswd also. Jon L. Miller, ASE, CNS, CLS, MCNE, CCNA Di

Re: [SAMBA] getpeername failed

2005-12-18 Thread Dennis B. Hopp
Franck Y wrote: Fellows, I need some help regarding this thing!1! I get tons of messages like this ? Can anyone help me with resolving this problem ? Dec 18 13:52:42 constellation smbd[8063]: [2005/12/18 13:52:42, 0] lib/util_sock.c:send_smb(647) Dec 18 13:52:42 constellation smbd[8063]: Erro

Re: [Samba] smbclient lookup fails when querying local machine

2005-12-18 Thread Adam Nielsen
> Port 139 is open in the iptables config for both TCP and UDP. Hmm, I have an additional port open: tcp0 0 192.168.0.1:139 0.0.0.0:* LISTEN 2694/smbd tcp0 0 127.0.0.1:139 0.0.0.0:* LISTEN 2694/smbd

Re: [Samba] Unable to give users access to folders within Samba share

2005-12-18 Thread Adam Nielsen
Hi Jerry, Thanks for your reply! > What Samba version? Are you using security = ads ? I was using Samba 3.0.20 with security = domain, however I have since upgraded to 3.0.21rc2 with security = ads in the hope that this may have fixed the problem. I think the problem may have been something to

Re: [Samba] Lessons learned

2005-12-18 Thread Henrik Zagerholm
Great guide Vijay! Thank you for sharing. Cheers, Henrik 18 dec 2005 kl. 21:30 skrev Vijay Avarachen: Hello, I would like to share few things I have learned over time in my attempt to integrate all my Linux clients to an existing corporate Windows 2000 Active Directory (AD). I am a L

Re: [Samba] Implementation Question

2005-12-18 Thread Graham Leggett
Dennis B. Hopp wrote: Did you just use the LDAP schema that is included with Samba or did you make your own and then make Samba use that? I used the standard v3.0 schema that came with Samba. Did you use some howto or come up with it on your own? As I recall I used the normal Samba manual,

Re: [Samba] Implementation Question

2005-12-18 Thread Craig White
On Sun, 2005-12-18 at 15:56 -0600, Dennis B. Hopp wrote: > Graham Leggett wrote: > > > Craig White wrote: > > > >> LDAP is what would make sense - scales well, replicates, portable, > >> combines UNIX/Samba users into one object. > > > > > > I have an LDAP directory which backs a Samba PDC, and of

Re: [Samba] Implementation Question

2005-12-18 Thread Dennis B. Hopp
Graham Leggett wrote: Craig White wrote: LDAP is what would make sense - scales well, replicates, portable, combines UNIX/Samba users into one object. I have an LDAP directory which backs a Samba PDC, and offers single signon for email, and LDAP backed Linux user accounts. Works very well.

Re: [Samba] Implementation Question

2005-12-18 Thread Graham Leggett
Craig White wrote: LDAP is what would make sense - scales well, replicates, portable, combines UNIX/Samba users into one object. I have an LDAP directory which backs a Samba PDC, and offers single signon for email, and LDAP backed Linux user accounts. Works very well. Regards, Graham -- --

[SAMBA] getpeername failed

2005-12-18 Thread Franck Y
Fellows, I need some help regarding this thing!1! I get tons of messages like this ? Can anyone help me with resolving this problem ? Dec 18 13:52:42 constellation smbd[8063]: [2005/12/18 13:52:42, 0] lib/util_sock.c:send_smb(647) Dec 18 13:52:42 constellation smbd[8063]: Error writing 4 bytes t

[Samba] getpeername failed

2005-12-18 Thread Franck Y
Fellows, I need some help regarding this thing!1! I get tons of messages like this ? Can anyone help me with resolving this problem ? Dec 18 13:52:42 constellation smbd[8063]: [2005/12/18 13:52:42, 0] lib/util_sock.c:send_smb(647) Dec 18 13:52:42 constellation smbd[8063]: Error writing 4 bytes t

[Samba] Lessons learned

2005-12-18 Thread Vijay Avarachen
Hello, I would like to share few things I have learned over time in my attempt to integrate all my Linux clients to an existing corporate Windows 2000 Active Directory (AD). I am a Linux admin for a small division in a large company and do not posses any special rights as far as AD goes. I O

Re: [Samba] Implementation Question

2005-12-18 Thread Craig White
On Sun, 2005-12-18 at 13:25 -0600, Dennis B. Hopp wrote: > I'm setting up a small network and I would like to have centralized > authentication. I have no need for active directory so samba makes sense. > > The desktops will be running Windows XP but there are a few other > servers (a linux mai

[Samba] Implementation Question

2005-12-18 Thread Dennis B. Hopp
I'm setting up a small network and I would like to have centralized authentication. I have no need for active directory so samba makes sense. The desktops will be running Windows XP but there are a few other servers (a linux mail server, web server and file server) that I would like to be abl

Re: [Samba] Basic samba/swat setup prob

2005-12-18 Thread dave s
On Sunday 18 Dec 2005 17:32, Eric Hines wrote: > At 12/18/05 10:58, dave s wrote: > >On Sunday 18 December 2005 16:47, Eric Hines wrote: > > > At 12/18/05 09:49, Mathew D. Watson wrote: > > > >dave wrote: > > > >>I am running kubuntu, samba 3.0.14a, my smb.conf file is ... > > > >>[global] > > > >>

Re: [Samba] Basic samba/swat setup prob

2005-12-18 Thread Eric Hines
At 12/18/05 10:58, dave s wrote: On Sunday 18 December 2005 16:47, Eric Hines wrote: > At 12/18/05 09:49, Mathew D. Watson wrote: > >dave wrote: > >>I am running kubuntu, samba 3.0.14a, my smb.conf file is ... > >>[global] > >> workgroup = METRAN > >> encrypt passwords = yes > >>[test] >

Re: [Samba] Basic samba/swat setup prob

2005-12-18 Thread dave s
On Sunday 18 December 2005 16:47, Eric Hines wrote: > At 12/18/05 09:49, Mathew D. Watson wrote: > >dave wrote: > >>I am running kubuntu, samba 3.0.14a, my smb.conf file is ... > >>[global] > >> workgroup = METRAN > >> encrypt passwords = yes > >>[test] > >> comment = For testing only,

Re: [Samba] Basic samba/swat setup prob

2005-12-18 Thread dave s
On Sunday 18 December 2005 15:49, Mathew D. Watson wrote: > dave wrote: > > I am running kubuntu, samba 3.0.14a, my smb.conf file is ... > > > > [global] > > workgroup = METRAN > > encrypt passwords = yes > > [test] > > comment = For testing only, please > > path = /etc/samba/tmp >

Re: [Samba] Basic samba/swat setup prob

2005-12-18 Thread Eric Hines
At 12/18/05 09:49, Mathew D. Watson wrote: dave wrote: I am running kubuntu, samba 3.0.14a, my smb.conf file is ... [global] workgroup = METRAN encrypt passwords = yes [test] comment = For testing only, please path = /etc/samba/tmp read only = no guest ok = yes I have a /

[Samba] Error Message Question - Bugzilla 2214

2005-12-18 Thread L. Mark Stone
Running VMware Workstation 5.5 on SuSE SLES9 with Samba 3.20b installed from SuSE Projects tree. A share on the SLES9 box is used to transfer data between the SLES9 box and a Windows 2000 vm running in VMware--all on the same physical box. On firing up the vm, I see the following in /var/log/mess

Re: [Samba] Basic samba/swat setup prob

2005-12-18 Thread Mathew D. Watson
dave wrote: I am running kubuntu, samba 3.0.14a, my smb.conf file is ... [global] workgroup = METRAN encrypt passwords = yes [test] comment = For testing only, please path = /etc/samba/tmp read only = no guest ok = yes I have a /etc/samba/tmp directory, I am user dave

Re: [Samba] Using smbmount in a script - no return value

2005-12-18 Thread Mathew D. Watson
Thanks Michael! Yup. If files in the system can't be accessed, it's a good bet the mount didn't work. Mat Michael Barnes wrote: For some of us simple minded types, like me, perhaps you could have a permanent file in the share and test for it after mounting. Create the file NonsenseShare/iamh

[Samba] Recommended LDAP access settings for a Samba admin DN

2005-12-18 Thread Marek Szuba
Hello again, At the moment everything works fine, but I'd like Samba to use a dedicated LDAP access DN instead of the global directory admin one. Could you give me any recommendations as to how access rules should be set for this DN so that it both can work without problems and have no unnecessar

[Samba] Samba 3: "restrict anonymous = 2" breaks domain joining

2005-12-18 Thread Marek Szuba
Hello, Despite not having received any input on my last problem, I managed to work it out and now I've finally got a working Linux PDC with ldapsam and non-root domain admin. As it turned out, the problems were caused by a combination of Samba settings, too tight security on Windows boxes and, in

Re: [Samba] windows env variable for USERDOMAIN is wrong

2005-12-18 Thread Doug VanLeuven
Greg Fischer wrote: Hi all, I just setup my Samba PDC. Mostly everything works, but I am wondering why on some clients, they have the wrong USERDOMAIN environment variable. (when you run 'set' in win xp cmd) The domain name is MEIDLING, and the user and computer are joined ok. But in set, it

Re: [Samba] User Must Change Password On Next Logon

2005-12-18 Thread Simo Sorce
On Fri, 2005-12-16 at 17:20 +0100, Emanuele wrote: > Hello, > you can write this: > > pdbedit --pwd-must-change-time=1134732000 'username' > > > P.S.: 1134732000 is the time (sec) starting at 01/01/1970, in this > case, the user 'username' must change his password after the > 16/12/2005 12:20.

[Samba] Basic samba/swat setup prob

2005-12-18 Thread dave
Good Morning, I am trying to setup a basic samba config by first starting up swat. I have followed the guide http://us2.samba.org/samba/docs/using_samba/ch02.html but have problems. I am running kubuntu, samba 3.0.14a, my smb.conf file is ... [global] workgroup = METRAN encrypt passwor