[Samba] Strange error

2011-03-16 Thread Veiko Kukk
Hi, I'm getting many errors in samba logfiles on file server, which is NT4 domain member. Centos 5.5, Samba packages from Sernet repo, version 3.5.6-43.el5. That error is: [2011/03/16 09:37:49.057565, 1] smbd/service.c:678(make_connection_snum) create_connection_server_info failed:

Re: [Samba] Issue with samba SID

2011-03-16 Thread Moisés Barba Pérez
Is it possible to configure SIDs genertion for users and computers in the old style (2*id) + 1000??? 2011/3/15 TAKAHASHI Motonobu mo...@monyo.com From: Moisés_Barba_Pérez mbarpe...@gmail.com Date: Tue, 15 Mar 2011 13:06:03 +0100 I have a samba PDC with LDAP, samba 3.0.33 and 389DS 1.2.5.

[Samba] wbinfo -u Don't show users from trusted(ing) domain on domain member server

2011-03-16 Thread Wasil
Hi, All! I Have Samba (3.5.6) domain witch have trust relations with ADS (Named TEST) Win2008 (2008 domain mode) On PDC all working very good. I have also Domain Member server in my samba Domain. When i trying type wbinfo -u, or getent passwd on samba PDC (Named BINKLG) I see all, including

[Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Hi, i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created. Any hints on that? script commands i added: add user script = /usr/sbin/useradd -m '%u' -g ntusers -G

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Marco Ciampa
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote: Hi, i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created. Any hints on that? IMHO you have to create

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Wasil
Hi You must have something like this: in smb.conf^ [profiles] . root preexec = /usr/local/bin/mkprofile.sh %u %g mkprofile.sh: #!/bin/sh PROFILE=/data2/profiles/$1 if [ ! -e $PROFILE ]; then mkdir -pm700 $PROFILE chown $1:$2 $PROFILE fi Wed, 16 Mar 2011 11:09:59 +0100

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 11:21, schrieb Marco Ciampa: On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote: Hi, i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created. Any

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 11:33, schrieb Wasil: Hi You must have something like this: in smb.conf^ [profiles] . root preexec = /usr/local/bin/mkprofile.sh %u %g mkprofile.sh: #!/bin/sh PROFILE=/data2/profiles/$1 if [ ! -e $PROFILE ]; then mkdir -pm700 $PROFILE chown $1:$2 $PROFILE fi

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Bruce Richardson
On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote: Hi, i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created. It'll be created automatically when the user

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 11:50, schrieb Bruce Richardson: On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote: Hi, i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created.

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 11:50, schrieb Bruce Richardson: On Wed, Mar 16, 2011 at 11:09:59AM +0100, J. Echter wrote: Hi, i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created.

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Wasil
You must add root preexec to the Section [profiles] my section [profiles]: comment = Network Profiles Service #path = %H path = /data2/profiles read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 write list =

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
thats what i did. maybe there's something else wrong with my profiles definition in this case? [profile] comment = Profildateien path = /home/samba/profile guest ok = yes browseable = no create mask = 0600 directory mask = 0700 writeable = yes root preexec =

Re: [Samba] Strange error

2011-03-16 Thread Veiko Kukk
On 16/03/11 09:41, Veiko Kukk wrote: That error is: [2011/03/16 09:37:49.057565, 1] smbd/service.c:678(make_connection_snum) create_connection_server_info failed: NT_STATUS_ACCESS_DENIED I'm sorry, found the answer myself. http://lists.samba.org/archive/samba/2009-May/147995.html In the

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Bruce Richardson
On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote: no, i want to have a profile dir created when a new created user logs in. that's it. :) Well, as long as you have the correct acls on the share and permissons on the directory, the user's workstation should try to create the user

Re: [Samba] vfs_gpfs module errors

2011-03-16 Thread Bob Cregan
Hi Christian Thanks very much for your reply. The bug looks like an exact replica of my problem, including the use of robocopy. 3.5.8 seems to incorporate the fix. Having some problems upgrading in a ctdb setting at the moment, but will keep you posted. Bob Hi Bob, Bob

Re: [Samba] Upgraded to 3.5.8 local users unable to log in AD users can

2011-03-16 Thread Taylor, Jonn
On 03/15/2011 05:32 PM, Alfanoid wrote: Daniel Müller mueller at tropenklinik.de writes: You system was trying to authenticate with winbind!? Did Winbind run is your smb.conf configuration to interact with winbind? --- EDV Daniel Müller

[Samba] (no subject)

2011-03-16 Thread Daniel Müller
Hello To all, I have a special question: Did someone succeed in running a W2008 failover Cluster with samba3 as Domain Controller? Or is it possible to run this cluster with samba4 (ADS) at this time? --- EDV Daniel Müller Leitung EDV Tropenklinik

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Bruce Richardson
On Wed, Mar 16, 2011 at 11:21:42AM +0100, Marco Ciampa wrote: IMHO you have to create it with a script. In that script you will create the user (with useradd) and then the profile dir... I think it is probably a bad idea to do this with a script unless you have some good reason to need it.

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 13:01, schrieb Bruce Richardson: On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote: no, i want to have a profile dir created when a new created user logs in. that's it. :) Well, as long as you have the correct acls on the share and permissons on the directory, the user's

[Samba] samba3.5.4 windows 2008 R1 32bit

2011-03-16 Thread Aaron E.
What is the trick to getting a Windows 2008 R1 32bit server to connect to a samba print share? Error = Windows could no connect to printer, Operation could not be completed (error 0x6d1) My configuration is this.. Samba4 PDC Samba3 print server windows 2008 TS server Everything

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 13:01, schrieb Bruce Richardson: On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote: no, i want to have a profile dir created when a new created user logs in. that's it. :) If you create these directories manually and then a user logs in, does the user's profile

[Samba] linux-to-linux share config

2011-03-16 Thread gobo
my apologies if this is a duplicate, i never saw it come across. i'm really stuck. trying to set up a server with linux-linux and linux-windows shares. i can't seem to get a linux share built where cp -p won't issue the preserving permissions for ... denied message. the clients will have the

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Bruce Richardson
On Wed, Mar 16, 2011 at 04:17:05PM +0100, J. Echter wrote: Am 16.03.2011 13:01, schrieb Bruce Richardson: On Wed, Mar 16, 2011 at 12:16:52PM +0100, J. Echter wrote: no, i want to have a profile dir created when a new created user logs in. that's it. :) If you create these directories

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread Bruce Richardson
On Wed, Mar 16, 2011 at 12:01:52PM +, Bruce Richardson wrote: What do you have in your logon path setting in smb.conf? You never answered this question. You don't need to have anything there, because it defaults to \\%N\%U\profile, but if you do have something there, what is it? Are you

Re: [Samba] wbinfo -u Don't show users from trusted(ing) domain on domain member server

2011-03-16 Thread Bob Miller
Hi, Did you join your DMS to the domain? On Wed, 2011-03-16 at 12:35 +0300, Wasil wrote: Hi, All! I Have Samba (3.5.6) domain witch have trust relations with ADS (Named TEST) Win2008 (2008 domain mode) On PDC all working very good. I have also Domain Member server in my samba Domain.

Re: [Samba] wbinfo -u Don't show users from trusted(ing) domain on domain member server

2011-03-16 Thread Wasil
Of course. I can view own samba domain users. Wed, 16 Mar 2011 08:58:48 -0700 письмо от Bob Miller b...@computerisms.ca: Hi, Did you join your DMS to the domain? On Wed, 2011-03-16 at 12:35 +0300, Wasil wrote: Hi, All! I Have Samba (3.5.6) domain witch have trust relations with

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 16:55, schrieb Bruce Richardson: On Wed, Mar 16, 2011 at 12:01:52PM +, Bruce Richardson wrote: What do you have in your logon path setting in smb.conf? You never answered this question. You don't need to have anything there, because it defaults to \\%N\%U\profile, but if you

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread TAKAHASHI Motonobu
From: J. Echter j.ech...@elektro-mayer-echter.de Date: Wed, 16 Mar 2011 11:09:59 +0100 i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the /home/samba/profile/user dir is not created. Any hints on that?

Re: [Samba] vfs_gpfs module errors

2011-03-16 Thread Bob Cregan
Christian Thanks. An upgrade to 3.5.8 indeed fixed the problem. Bob Hi Bob, Bob Cregan bob.cre...@bristol.ac.uk wrote on 03/14/2011 02:48:25 PM: [2011/03/14 12:31:16.549084, 1] modules/vfs_gpfs.c:1099(vfs_gpfs_ntimes) vfs_gpfs_ntimes: set GPFS ntimes failed -1 The

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 17:21, schrieb TAKAHASHI Motonobu: From: J. Echterj.ech...@elektro-mayer-echter.de Date: Wed, 16 Mar 2011 11:09:59 +0100 i have a Samba PDC (no LDAP) and added add user script to my config. I can create the user with no problems, login is possible but the

Re: [Samba] Issue with samba SID

2011-03-16 Thread TAKAHASHI Motonobu
From: Moisés_Barba_Pérez mbarpe...@gmail.com Date: Wed, 16 Mar 2011 09:32:19 +0100 2011/3/15 TAKAHASHI Motonobu mo...@monyo.com If you use smbldap-tools, the SID for users and groups are generated by smbldap-tools with the way which you know, (2 * id) + 1000/1001. But the SID for

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 17:21, schrieb TAKAHASHI Motonobu: - Created a user: # useradd -d /var/home/test01 test01 # smbpasswd -a test01 # pdbedit -v test01 ... Profile Path: \\lenny5\profiles\test01 ... - When I logon as test01 from Windows XP workstation which is already joined to the

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread TAKAHASHI Motonobu
From: J. Echter j.ech...@elektro-mayer-echter.de Date: Wed, 16 Mar 2011 17:34:35 +0100 You should show us enough information for us to re-produce such as all content of smb.conf and related settings: In my lab, profile dir is successfully created. My env is... (snip) smb.conf (snip)

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread tms3
You should show us enough information for us to re-produce such as all content of smb.conf and related settings: In my lab, profile dir is successfully created. My env is... - Debian lenny (hostname is lenny5) + self-compiled Samba 3.5.6 - my smb.conf and shares --- [global]

Re: [Samba] WINS Server TIme out registering IP

2011-03-16 Thread TAKAHASHI Motonobu
From: Mike Brady mike.br...@devnull.net.nz Date: Wed, 16 Mar 2011 06:44:23 +1300 Quoting TAKAHASHI Motonobu mo...@monyo.com: bind interfaces only = yes is not set. iptables has no rules loaded. (snip) # netstat -an | egrep '13[789]|445' (snip) Umm... Anyway I think it seems that you

Re: [Samba] Samba PDC adding new user, profile dir is not created

2011-03-16 Thread J. Echter
Am 16.03.2011 18:02, schrieb t...@tms3.com: You should show us enough information for us to re-produce such as all content of smb.conf and related settings: In my lab, profile dir is successfully created. My env is... - Debian lenny (hostname is lenny5) + self-compiled Samba 3.5.6 - my

Re: [Samba] [SPAM] Re: WINS Server TIme out registering IP

2011-03-16 Thread Mike Brady
Quoting TAKAHASHI Motonobu mo...@monyo.com: From: Mike Brady mike.br...@devnull.net.nz Date: Wed, 16 Mar 2011 06:44:23 +1300 Quoting TAKAHASHI Motonobu mo...@monyo.com: bind interfaces only = yes is not set. iptables has no rules loaded. (snip) # netstat -an | egrep '13[789]|445'

Re: [Samba] large files

2011-03-16 Thread Jeremy Allison
On Tue, Mar 15, 2011 at 08:54:19PM -0400, Ellis Golub wrote: Jeremy -- On file open or copy, the progress bar pop-up comes up and and the green bar begins to move. Somewhere between 1/4 and 3/4 done, the bar stops. If I wait long enough, I sometimes get an error message saying that the

[Samba] idmap allocation does not work Samba 3.4.7 on FC11

2011-03-16 Thread Gaiseric Vandal
I have setup a Samba 3.4.7 on Fedora Core 11 Linux (this is the samba version installed with yum update.) This is a domain member server. The PDC is a Samba 3.4.9 on Solaris 10. Winbind is running I am trying to get idmap allocation working. The unix accounts for the samba

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Volker Lendecke
The branch, master has been updated via 9bc14af s3: Fix a cutpaste error in pdb_ads_connect from 831ff45 s3: Use jenkins hash for str_checksum, fix bug 8010 http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Andrew Tridgell
The branch, master has been updated via 46384cf headers: cope with non-system popt in test_headers via 3cfa821 headers: include Python.h first to avoid warnings from 9bc14af s3: Fix a cutpaste error in pdb_ads_connect http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Stefan Metzmacher
The branch, master has been updated via 1d5f3c1 s4:ldb: don't install .pc files when building a private library from 46384cf headers: cope with non-system popt in test_headers http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Günther Deschner
The branch, master has been updated via fad0112 s3-build: stop including ldap and lber headers everywhere in the code. via d19ea55 s3-includes: avoid global include of gssapi headers. via 6c8d802 s3-libsmb: move smb encryption structs into own header. via e1f8433

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Günther Deschner
The branch, master has been updated via e084edc s4-smbtorture: use torture_fail and _assert macros in torture_netlogon_samba3(). via be55bbc s4-smbtorture: remove explicit mem_ctx from torture_netlogon_samba3(). via 8775aee s4-smbtorture: use torture_fail and _skip in

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Andreas Schneider
The branch, master has been updated via 97cdf15 s3-printing: fix memory leak in print_cups.c via 52845c1 s3-printing: remove duplicate cups response processing code via d6cb4fe s3-printing: use printcap IDL for IPC via 9ea6027 idl: define printcap IPC message format

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Günther Deschner
The branch, master has been updated via 48c2117 s4-smbtorture: use torture_assert in torture_samba3_rpc_sharesec(). via 9295cff s4-smbtorture: use torture_fail and _assert in torture_samba3_rpc_getusername(). via 7544f23 s4-smbtorture: remove explicit mem_ctx from

[SCM] Samba Shared Repository - branch v3-6-test updated

2011-03-16 Thread Jeremy Allison
The branch, v3-6-test has been updated via f88484a s3-printing: fix memory leak in print_cups.c via 2d05e26 s3-printing: remove duplicate cups response processing code via e7b59b0 s3-printing: use printcap IDL for IPC via ac311ed idl: define printcap IPC message

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Volker Lendecke
The branch, master has been updated via 7bb76bc s3: Fix Coverity ID 2100, BAD_SIZEOF via df79b3b s3: Fix Coverity ID 2317: Uninitialized read via 329fcd4 s3: Fix Coverity ID 2318: Uninitialized read via d8068b5 s3: Fix Coverity ID 2319: Uninitialized read from

[SCM] Samba Shared Repository - branch v3-6-test updated

2011-03-16 Thread Volker Lendecke
The branch, v3-6-test has been updated via 29c81d9 s3: Fix Coverity ID 2100, BAD_SIZEOF via 4791050 s3: Fix Coverity ID 2317: Uninitialized read via 7567624 s3: Fix Coverity ID 2318: Uninitialized read via 5592477 s3: Fix Coverity ID 2319: Uninitialized read

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Volker Lendecke
The branch, master has been updated via 2581cb7 s3: Fix Coverity ID 1402: PASS_BY_VALUE via a7a638c s3: Fix Coverity ID 2213, PASS_BY_VALUE via a282455 s3: Fix Coverity ID 1012, CHECKED_RETURN via 9c9ed33 s3: Fix Coverity ID 1013, CHECKED_RETURN via 3835d77

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Volker Lendecke
The branch, master has been updated via ab37eae s3: Fix Coverity ID 2231, REVERSE_INULL via 889e036 s3: Fix Coverity ID 2232, REVERSE_INULL via 37870e2 s3: Fix Coverity ID 2233, REVERSE_INULL via dacb392 s3: Fix Coverity ID 2234: REVERSE_INULL via fb47b7f

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Simo Sorce
The branch, master has been updated via 2a608ba dcerpc: we do not need these as public headers from ab37eae s3: Fix Coverity ID 2231, REVERSE_INULL http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log -

autobuild: intermittent test failure detected

2011-03-16 Thread Andrew Tridgell
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2011-03-17-0025/flakey.log The samba3 build logs are available here:

[SCM] Samba Shared Repository - branch master updated

2011-03-16 Thread Günther Deschner
The branch, master has been updated via 1d516f0 s3-username: rename static getpwnam_alloc to getpwnam_alloc_cached. via 3aa9d30 s3-build: only include asn1 headers where actually needed. from 2a608ba dcerpc: we do not need these as public headers

[SCM] Samba Shared Repository - branch v3-6-test updated

2011-03-16 Thread Günther Deschner
The branch, v3-6-test has been updated via f76be33 s3-username: rename static getpwnam_alloc to getpwnam_alloc_cached. via 0446bca s3-build: only include asn1 headers where actually needed. from 9a8e6e2 Merge master into v3-6-test