[Samba] joining samba server to Active Directory for

2008-09-18 Thread Gregory Machin
Hi I'm trying to get my samba file server to authenticate against my windows 2008 active directory server , so that there is a unified log in and if anyone logs onto the box the they are authenticated against the a server and there account is created. I'm battling to get my samba server server to

[Samba] LDAP user search request includes domain

2008-09-18 Thread Howard Allison
Hi, I'm running a Samba 3.0.32 server on AIX 6.1, AIX is authorizing with secldapclntd to an OpenLDAP Server. The Clients are coming from a Windows 2003 Terminal Server Thin Client session, logged in to the domain. I see in the logs that secldapclntd tries 3 times to authorize using DOMAIN\USER

Re: [Samba] Why are some error messages printed to stdout?

2008-09-18 Thread Stan
Hi again :) Ok. I was looking at something else now and stumbled into a similar thing. This time it is in the client code (client.c): if (!NT_STATUS_IS_OK(status)) { d_printf("Connection to %s\\%s failed - %s\n", server, share, nt_errstr(status)); talloc_free(ctx); return NULL; } Haven't l

[Samba] Can't authenticate users from both domains in forest

2008-09-18 Thread Roger Roden
I have 2 domains in my forest. I need to allow users from both DomA (The forest root and the Domain the server is joined to) and DomB to log in. All works fine with DomA, but no one from DomB can log in. wbinfo --domain=DOMB -u returns error looking up domain users. wbinfo -D DOMB returns the follo

Re: [Samba] Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1

2008-09-18 Thread William Wilson
I'm trying out samba 3.2.4. Have the latest version of openldap installed from source. When I gmake the prog I get: Compiling lib/md5.c In file included from lib/md5.c:23: /nau/local/include/md5.h:27: error: parse error before "UINT4" /nau/local/include/md5.h:27: warning: no semicolon at end o

Re: [Samba] Samba user file Red hat 5 EL

2008-09-18 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Fromm wrote: > (This is a resend to my question, due to an error between the keyboard and > chair.) > > I installed red hat 5EL. I created samba users in command line using > pdbedit -a username and then supplied a password at the prompt. > > O

[Samba] Migrating from Samba PDC to Windows Server 2003?

2008-09-18 Thread Alex Strasheim
Is it possible migrate a domain from a Samba PDC to Active Directory using Windows Server 2003? Is it possible add a Windows server to the domain, make it a domain controller, have it sync up with Samba, and then turn the Samba PDC off? If it's possible, does it tend to work in the real world, or

[Samba] [ANNOUNCE] Samba 3.2.4 Available for Download

2008-09-18 Thread Karolin Seeger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 === "It is only with one's heart that one can see clearly. What is essential is invisible to the eye."

[Samba] Samba user file Red hat 5 EL

2008-09-18 Thread Marc Fromm
(This is a resend to my question, due to an error between the keyboard and chair.) I installed red hat 5EL. I created samba users in command line using pdbedit -a username and then supplied a password at the prompt. On our fedora core 5 server the users are listed in a file called smbpasswd, m

Re: [Samba] Samba with 2 NICs

2008-09-18 Thread Chris Smith
> Any help will be welcome ? Bind the nics, it's the proper way. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] Using local Windows and AD accounts with SAMBA

2008-09-18 Thread [EMAIL PROTECTED]
Question about shares and ADS vs. local Windows accounts. I have a NAS (linux/samba based) set in ADS mode. If I'm logged into the domain with user1/pass1, I can access shares. If I log into the Windows machine locally with the same credentials, I can't access the shares. I have another older NA

[Samba] Problems during "make install"

2008-09-18 Thread Gason Gregor
Hello, During my compilation and installation (specificly the make install portion) while trying to create compile I receive an error on every file that reads as follows: Compiling filename "./librpc/gen_ndr/srvsvc.h", line 232: warning" enumerator value overflows INT_MAX (

Re: [Samba] Rid generation

2008-09-18 Thread Helmut Hullen
Hallo, Nuno, Du (npf-mlists) meintest am 18.09.08: > If i have smbpasswd with: > user1:1416:803A317873C24BBDAAD3B435B51404EE:2DF2CB1538FE718DE034707A5 > 21AA893: [U ]:LCT-1221415636: > [EMAIL PROTECTED] samba]# pdbedit -L -v user1 > User SID: S-1-5-21-1454471165-2146950999-

Re: [Samba] Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1

2008-09-18 Thread Christian McHugh
We are compiling samba on solaris 10 (also works on solaris 9) by installing the kerberos, openldap, and openldap-devel stuff from blastwave. With that done samba can be compiled by pointing to the csw locations: export CPPFLAGS='-I/opt/csw/include' export LDFLAGS='-L/opt/csw/lib' ./configure --

Re: [Samba] Rid generation

2008-09-18 Thread John H Terpstra
On Thursday 18 September 2008 11:48:44 Nuno Fernandes wrote: > On Thursday 18 September 2008 15:37:21 Hari Sekhon wrote: > > Nuno Fernandes wrote: > > > [EMAIL PROTECTED] samba]# pdbedit -L -v user1 > > > User SID: S-1-5-21-1454471165-2146950999-672003340-1416 > > > > > > Where does it

[Samba] Fwd: Sol9 make failure of samba 3.2.2 with gcc 3.4.6 -- libtalloc.so.1

2008-09-18 Thread Dave S
I'm on Solaris 9 sparc. Current versions are: gcc 3.4.6 (sunfreeware pkg) MIT krb5-1.6.3 (source) openldap-2.4.11 (compiled with --with-tls and --enable-crypto) samba-3.2.2 db-4.2.52.NC (sunfreeware pkg) No compiler env vars set, except CC is set to CC=/usr/local/bin/gcc I'm invoking configure a

Re: [Samba] Rid generation

2008-09-18 Thread Hari Sekhon
Nuno Fernandes wrote: On Thursday 18 September 2008 15:37:21 Hari Sekhon wrote: Nuno Fernandes wrote: [EMAIL PROTECTED] samba]# pdbedit -L -v user1 User SID: S-1-5-21-1454471165-2146950999-672003340-1416 Where does it get the 1416 Rid from? it must basically do the

Re: [Samba] Rid generation

2008-09-18 Thread Nuno Fernandes
On Thursday 18 September 2008 15:37:21 Hari Sekhon wrote: > Nuno Fernandes wrote: > > [EMAIL PROTECTED] samba]# pdbedit -L -v user1 > > User SID: S-1-5-21-1454471165-2146950999-672003340-1416 > > > > Where does it get the 1416 Rid from? > > Samba does not generate the Rid, that is a Mic

[Samba] Samba with 2 NICs

2008-09-18 Thread hamacker
Hi everybody. I upgrade samba2 to samba3 in last month, I installed version 3.0.28a-1ubuntu4. But I have one big problem, I have two NICs that I use to balance/redundant (timming) that can not be enabled two simultaneos, if I do then win95 and win98 can not logon to network/domain. If I disabl

Re: [Samba] Rid generation

2008-09-18 Thread Hari Sekhon
Nuno Fernandes wrote: [EMAIL PROTECTED] samba]# pdbedit -L -v user1 User SID: S-1-5-21-1454471165-2146950999-672003340-1416 Where does it get the 1416 Rid from? Samba does not generate the Rid, that is a Microsoft Domain Controller function (allocation of rids is controlled throu

RE: [Samba] Samba write performance in kernel

2008-09-18 Thread Lin Mac
hi, Just do some debugging, and found something. I hope this do help. Correct me if anything wrong. I'm using samba-3.2.2. For some reason, Linux can not splice a socket and a filefd directly, which samba does so. In linux, sys_splice calls do_splice, which would require either in or out fd

[Samba] Rid generation

2008-09-18 Thread Nuno Fernandes
Hi, If i have smbpasswd with: user1:1416:803A317873C24BBDAAD3B435B51404EE:2DF2CB1538FE718DE034707A521AA893: [U ]:LCT-1221415636: and i do: pdbedit -i smbpasswd:file And SID for domain SERVER is: S-1-5-21-1454471165-2146950999-672003340 How does samba generate the rid part of that

Re: [Samba] Samba write performance in kernel

2008-09-18 Thread Volker Lendecke
On Thu, Sep 18, 2008 at 09:45:43PM +0800, Lin Mac wrote: > > On Mon, Sep 15, 2008 at 02:44:32PM +0800, Lin Mac wrote: > > This is a kernel implementation detail. Remember Samba > > runs on many other kernels, not just Linux. Linux has > > splice, *BSD has receivefile, Solaris probably has > > somet

RE: [Samba] Samba write performance in kernel

2008-09-18 Thread Lin Mac
hi, > On Mon, Sep 15, 2008 at 02:44:32PM +0800, Lin Mac wrote: > This is a kernel implementation detail. Remember Samba > runs on many other kernels, not just Linux. Linux has > splice, *BSD has receivefile, Solaris probably has > something different. Samba using splice on Linux doesn't work, that

[Samba] print job counter never decreases

2008-09-18 Thread Martin Schmid
Hello I've a samba printing problem: while all cups handled printers work perfectly, a fax printer application recently stopped working because of the default 'max print jobs' of 1000. In reality, the spool directory is empty. My question is: where ist this 'max print jobs' stored and how sh

[Samba] domain user?

2008-09-18 Thread Xu, Qiang (FXSGSC)
Hi, all: In doing image transfer over SMB protocol, our printer (which is using samba 3.0.25a) exhibits some strange behavior: When an image is scanned and transferred to the filing server, the user "sun-rm\z27jxk" cannot log in. In contrast, if the user is set to "\z27jxk", then login is succ

WG: WG: [Samba] Strange!!! Clients only log on to samba bdc

2008-09-18 Thread Daniel Müller
When I stop the BDC all clients log on to the PDC. And to my confusion when I restarted the BDC today and made a testparm on both PDC and BDC both showd role domain pdc --> Server role: ROLE_DOMAIN_PDC Here my smb.confs: PDC: [global] security=user smb ports = 139 logo

Re: WG: [Samba] Strange!!! Clients only log on to samba bdc

2008-09-18 Thread Michael Heydon
Daniel Müller wrote: Suddenly all clients log on to my BDC not longer to the PDC. What happens if the BDC is unavailable (You could simulate this by setting up iptables rules to drop all traffic from a given workstation)? The way I understand it, workstations will use what ever DC is "closes

Re: [Samba] primary group

2008-09-18 Thread mallapadi niranjan
Hi vishesh As you have mentioned that You have configured Winbind to get user information from AD on the Linux system. And on the AD, any user created is by default a member of "Domain Users" and also member of any other groups if you have added the user to other groups. So when you create a fil

[Samba] Update from 3.0.29 to 3.2.3 --> smbd panic

2008-09-18 Thread Ralf Aumüller
Hello, when I try to update from Samba version 3.0.29 to 3.2.3 smbd crashes (Samba is configured as a PDC and works without problems under 3.0.29). In the smbd log-file I found the following: [2008/09/18 08:09:36, 0, pid=15063] tdb(/opt/samba-3.2.3/var/locks/registry.tdb): tdb_transaction_s