RE: [Samba] net join fails NT_STATUS_INVALID_COMPUTER_NAME
You have probally already tried but check the following. I have always used YAST to join a SLES box to a domain. If you do not have a GUI installed, just type yast at the shell. Under the Network Services section is Windows Domain Membership. Open this. Type in all the correct information and make sure you select Use for Authentication. It should join the domain. yast says the join was succsessfully, but the Authentiaction to the share still fails! Also make sure the time of the server you are adding to the domain matchecs the domian controler. On a standard Windows AD setup anything past 5 min. can cause problems. The command to do this is net time set -S domain server time ist set by a ntp server -- Time is synchron. Kerberos authentication works testet with : #kinit [EMAIL PROTECTED] tq-backupsrv-1:~ # klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: [EMAIL PROTECTED] Valid starting ExpiresService principal 03/13/08 07:05:06 03/14/08 07:05:06 krbtgt/[EMAIL PROTECTED] Kerberos 4 ticket cache: /tmp/tkt0 klist: You have no tickets cached ___ Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen: http://www.produkte.web.de/messenger/?did=3015 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] incorporating linux machines in windows network
Hi all, We have been running samba servers for a few years now. All is running very well. Lately we are seeing more and more linux workstations in our network. We've always helped them to manually map shares etc, which works well. But we are really looking for a way to automatically create the necessary drives (mounts) upon logging into the network. (with something like a linux equivalent of the windows logon script) I know of autofs, but (the way I see it now?) this is not scalable nor automatically, because it needs to have the username/password to use in a file. It can't work as 'the currently logged-in' user. (please correct me if I'm wrong!) So... What you you people here use? Is there a solution for this, other than manually configuring each workstation? Or should I use something else? NFS? btw: sles10 servers, samba/openldap, xp / ubuntu workstations. Regards, Mourik Jan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] strange behaviour of check password script
Hi list, samba version: 3.0.23d-4 on debian etch. To enforce complex passwords I've added the line: check password script = /usr/local/scripts/checkpw Where checkpw is a script returning 0 if ok, and returning an error if not ok. The restrictions the script checks are: at least one uppercase, at least one lowercase, at least one number, at least one non-alphanum character and at least 8 characters long. The script is tested on the commandline and works fine. Now, when a user tries to change the password, types a password which is not ok, windows xp says that 3 out four of the following... upper, lower, number, non-alpha, this is a standard windows message, so it seems ok. But now for the strange thing, the password requirements turn out to be 3 out of 4 in stead of 4 out of 4, so windows xp seems to apply it's own password restrictions in stead of the restrictions of the script. And that works, so a user can choose a password eg 1234azAZ without any %^* or so, while the checkpw script doesn't allow that. And, even stranger, when I use the smbpasswd -r our_samba_server -U myusername to change my password (from the commandprompt of my linux pc) I can use any password I want. These are relevant smb.conf parameters: passdb backend = ldapsam:ldap://our_ldap_server:389; enable privileges = Yes check password script = /usr/local/scripts/checkpw unix password sync = Yes passwd program = /usr/sbin/smbldap-passwd -u %u passwd chat = Changing password for*\nNew password* %n\n *Retype new password* %n\n Any ideas? regards, Jeroen. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] file creation mode is not obeyed
Samba 3.0.26a OpenSuse 10.3 In samba.conf the default file creation mode is set to 775 (group write). This mode is not followed or established when a domain user creates a file. It is not group writable. -- Chris Christoph P. U. Kukulies -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] directory depth limit?
Samba 3.0.26a, Open Suse 10.3 Is there a directory depth limit either imposed by linux or by Windows or by Samba? A collegues comes with a problem that he cannot create a file/directory with a certain nesting depth. -- Chris Christoph P. U. Kukulies -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Is there a maximum number of shares samba can serve?
I am being asked to determine the feasibility of serving hundreds (300-400) of directories as individual shares instead of sharing a single parent directory. Personally, I don't think this is a good idea. Clients will go from having a single connection to a single share to 50-300 connections to multiple shares. That can't be good for performance or load. I've searched the mailing list, the web, the documentation, the wiki and the source code. I haven't been able to determine the maximum, if any. Of course, I may have missed it. Feel free to point me to the correct documentation or source file. I've seen some references that you can't have either more than 145 or 165 shares per samba server. However, if there is anyone running such a large number of shares and has advice, I am happy to listen. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] multiple ldap backends problem
Hello I have samba PDC server with ldap backend. I have a replica of my ldap database working on another host and I would like to have multiple ldap backends for my samba. In my smb. conf there is: passdb backend = ldapsam:ldap://127.0.0.1/ ldap://192.168.0.9/ but in case of local slapd is down, the second one is not even queried. (Of course both of my nss and pam configurations points to both of my ldap servers too) What should I do? Regards MM -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is there a maximum number of shares samba can serve?
Eric Boehm ha scritto: I am being asked to determine the feasibility of serving hundreds (300-400) of directories as individual shares instead of sharing a single parent directory. Personally, I don't think this is a good idea. Clients will go from having a single connection to a single share to 50-300 connections to multiple shares. That can't be good for performance or load. I've searched the mailing list, the web, the documentation, the wiki and the source code. I haven't been able to determine the maximum, if any. Of course, I may have missed it. Feel free to point me to the correct documentation or source file. I've seen some references that you can't have either more than 145 or 165 shares per samba server. However, if there is anyone running such a large number of shares and has advice, I am happy to listen. Hi, I found some docs about this smb.conf parameter: usershare max shares which specifies the maximum number of shares that the samba admin will allow non-root users to create via the command net usershare add ( read for example http://us1.samba.org/samba/docs/man/manpages-3/net.8.html ) The example value given in the docs for the usershare max shares parameter is 100, which makes me think that a samba server should cope with a number of shares in the hundreds. I know it's not much, but I HTH nonetheless. -- Marcello Romani Responsabile IT Ottotecnica s.r.l. http://www.ottotecnica.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is there a maximum number of shares samba can serve?
On Thu, Mar 13, 2008 at 03:03:24PM +0100, Marcello Romani wrote: Marcello == Marcello Romani [EMAIL PROTECTED] writes: Marcello Eric Boehm ha scritto: I am being asked to determine the feasibility of serving hundreds (300-400) of directories as individual shares instead of sharing a single parent directory. Marcello Hi, I found some docs about this smb.conf parameter: Marcello usershare max shares Marcello which specifies the maximum number of shares that the Marcello samba admin will allow non-root users to create via the Marcello command Marcello net usershare add Marcello ( read for example Marcello http://us1.samba.org/samba/docs/man/manpages-3/net.8.html Marcello ) Yes, I saw that but it wasn't much comfort. We don't have users creating shares in our environment but I understand your reasoning. I have a suspicion that the limit was set to a large value on the premise it would be unlikely that users would ever create that many shares. Marcello The example value given in the docs for the usershare Marcello max shares parameter is 100, which makes me think that a Marcello samba server should cope with a number of shares in the Marcello hundreds. Marcello I know it's not much, but I HTH nonetheless. My primary concern is the the number of clients connections would increase dramatically. If I have 50 clients with one connection (one share) now, that's 50 connections. This could increase to 300*50 connections. Granted, not every client will be active on every share at the same time but I could easily see that I could go from 1 to 10 connections per client. I am interested in knowing or at least estimating how Samba might perform under these conditions. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] reiserfs, samba, symlinks and windows
I am having a hard time getting a Windows XP virtual machine to follow a symlink share to a localhost samba share with 'follow symlinks = yes' I have been googling this for a couple of hours now and have found some references but not definite fix. Error from samba: '/tmp/Desktop' does not exist or permission denied when connecting to [desktop] Error was Permission denied System: Linux Gentoo-x86 2.6.23-gentoo-r3 #3 SMP Thu Jan 3 11:46:35 MST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux Samba 3.0.28 Config: [global] workgroup = SCL netbios name = vmhost server string = Gentoo Host %v printcap name = cups load printers = yes printing = cups log level = 3 ; log file = /var/log/samba/log.%m log file = /var/log/samba/log.testing max log size = 50 hosts allow = 192.168.0. 127. map to guest = bad user security = share encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 192.168.0.1/24 remote announce = 192.168.0.1 dns proxy = no [desktop] comment = VM Shared Directory path = /tmp/Desktop ; path = /home/%U ; path = /tmp public = yes browseable = yes guest account = nobody guest only = yes writable = yes printable = no follow symlinks = yes wide links = yes create mask = 0770 force create mode = 0770 directory mode = 0770 force directory mode = 0770 force group = sclusers username = labuser msdfs root = no # force user = A Folder permisions: lrwxrwxrwx 1 nobody sclusers 22 Mar 13 06:38 Desktop - /home/username/Desktop -- Jason Gerfen I practice my religion while stepping on your toes... ~The Ditty Bops -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is there a maximum number of shares samba can serve?
On 3/13/2008, Eric Boehm ([EMAIL PROTECTED]) wrote: If I have 50 clients with one connection (one share) now, that's 50 connections. This could increase to 300*50 connections. Granted, not every client will be active on every share at the same time but I could easily see that I could go from 1 to 10 connections per client. I am interested in knowing or at least estimating how Samba might perform under these conditions. It might be better if you define the problem and/or goal first... *Why* dod you need 300+ shares? Maybe there's a better way to do it? For example, you could define one (or a few) shares, then using a combination of permissions and the 'hide unreadable' setting, users will only see the folders that they have access rights to... -- Best regards, Charles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is there a maximum number of shares samba can serve?
I currently have a server with 1,885 shares. It is running Samba version 3.0.20b-3.11-SUSE Gary R. Webster Eric Boehm [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/13/2008 08:23 AM Please respond to Eric Boehm [EMAIL PROTECTED] To samba@lists.samba.org cc Subject [Samba] Is there a maximum number of shares samba can serve? I am being asked to determine the feasibility of serving hundreds (300-400) of directories as individual shares instead of sharing a single parent directory. Personally, I don't think this is a good idea. Clients will go from having a single connection to a single share to 50-300 connections to multiple shares. That can't be good for performance or load. I've searched the mailing list, the web, the documentation, the wiki and the source code. I haven't been able to determine the maximum, if any. Of course, I may have missed it. Feel free to point me to the correct documentation or source file. I've seen some references that you can't have either more than 145 or 165 shares per samba server. However, if there is anyone running such a large number of shares and has advice, I am happy to listen. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] file creation mode is not obeyed
I'm not sure you gave enough information to help you, so I'll throw out the basics. Just like on Windows Server, there are 2 sets of permissions you have to deal with. Share permissions, which are the permissions the user has through the share, and file permissions, or the permissions the user has on the directory itself. Share permissions are the ones you setup in SAMBA. File permissions are the ones you setup in the OS. The user (or group) has to have permission in both places to be able to write. You can set the Samba permissions to Group write, but if the group (or user) doesn't have permission to write to the folder, it still won't work. I like to refer to http://us1.samba.org/samba/docs/man/Samba-Guide/small.html#id2553063 Step number 13 to remember how to set the folder permissions. (chmod -R ug+rwx,o+rx-w /data) (This assumes you setup all your shared folders as subfolders of /data...) This is the same in Windows (at least W2Kserver, last I used) You can share a folder, but you still have to setup user/group permissions on the folder itself in order for it to work. HTH, and sorry if you already knew this Dennis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christoph P. Kukulies Sent: Thursday, March 13, 2008 5:09 AM To: samba@lists.samba.org Subject: [Samba] file creation mode is not obeyed Samba 3.0.26a OpenSuse 10.3 In samba.conf the default file creation mode is set to 775 (group write). This mode is not followed or established when a domain user creates a file. It is not group writable. -- Chris Christoph P. U. Kukulies -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] reiserfs, samba, symlinks and windows
On Thu, Mar 13, 2008 at 9:57 AM, Jason Gerfen [EMAIL PROTECTED] wrote: I am having a hard time getting a Windows XP virtual machine to follow a symlink share to a localhost samba share with 'follow symlinks = yes' I have been googling this for a couple of hours now and have found some references but not definite fix. Error from samba: '/tmp/Desktop' does not exist or permission denied when connecting to [desktop] Error was Permission denied System: Linux Gentoo-x86 2.6.23-gentoo-r3 #3 SMP Thu Jan 3 11:46:35 MST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux Samba 3.0.28 At work I use amd64 gentoo and samaba-3.0.28a and simlinks work just fine. It must be a permissions problem. Does the windows XP user have permissions on the /tmp folder on the gentoo box? John John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] directory depth limit?
On Thu, Mar 13, 2008 at 01:06:33PM +0100, Christoph P. Kukulies wrote: Samba 3.0.26a, Open Suse 10.3 Is there a directory depth limit either imposed by linux or by Windows or by Samba? A collegues comes with a problem that he cannot create a file/directory with a certain nesting depth. Yes, the limit in Samba 3.0.x is 1024 bytes (not characters, that depends on the server encoding). This has been removed in Samba 3.2 (not yet out) - in 3.2 the restriction is only the underlying MAX_PATH on the system Samba is running on. Jeremy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is there a maximum number of shares samba can serve?
On Thu, Mar 13, 2008 at 10:56:47AM -0400, Charles Marcus wrote: Charles == Charles Marcus [EMAIL PROTECTED] writes: Charles On 3/13/2008, Eric Boehm ([EMAIL PROTECTED]) wrote: If I have 50 clients with one connection (one share) now, that's 50 connections. This could increase to 300*50 connections. Granted, not every client will be active on every share at the same time but I could easily see that I could go from 1 to 10 connections per client. I am interested in knowing or at least estimating how Samba might perform under these conditions. Charles It might be better if you define the problem and/or goal Charles first... Charles *Why* dod you need 300+ shares? Maybe there's a better Charles way to do it? For example, you could define one (or a Charles few) shares, then using a combination of permissions and Charles the 'hide unreadable' setting, users will only see the Charles folders that they have access rights to... We currently use Samba as an Interop environment for IBM/Rational ClearCase. The desire is control access to each ClearCase VOB individually. There are anywhere from 100-400 VOBs on each server. Normal UNIX permissions of owner, group and world are insufficient. In addition, there is a need to restrict access by hostname as well as user. I don't think permissions and hide unreadable will help with access by hostname. We have a concurrent problem with restricting NFS access relating to how large the export file can be and how many NFS mounts a client can make. It is likely that we will have to back off to the level of filesystems or higher in the directory tree. For example, we have /export/vobstore/disk1/proj1/VOBa /export/vobstore/disk1/proj1/VOBb /export/vobstore/disk1/proj2/VOBc /export/vobstore/disk1/proj1/VOBd /export/vobstore/disk2/proj2/VOBe /export/vobstore/disk2/proj1/VOBf /export/vobstore/disk3/proj2/VOBg /export/vobstore/disk3/proj1/VOBh The current method is to define the share [export] path = /export One proposal is to use [VOBa] path = /export/vobstore/disk1/proj1/VOBa [VOBb] path = /export/vobstore/disk1/proj1/VOBb etc. This is not going to work for NFS so we may back off to [disk1] path = /export/vobstore/disk1 [disk2] path = /export/vobstore/disk2 etc. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] reiserfs, samba, symlinks and windows
I thought that as well at first but if I change the default share to '/tmp' I am able to map the drive but I am NOT able to view any of the symlinks in that directory with windows. John Drescher wrote: On Thu, Mar 13, 2008 at 9:57 AM, Jason Gerfen [EMAIL PROTECTED] wrote: I am having a hard time getting a Windows XP virtual machine to follow a symlink share to a localhost samba share with 'follow symlinks = yes' I have been googling this for a couple of hours now and have found some references but not definite fix. Error from samba: '/tmp/Desktop' does not exist or permission denied when connecting to [desktop] Error was Permission denied System: Linux Gentoo-x86 2.6.23-gentoo-r3 #3 SMP Thu Jan 3 11:46:35 MST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux Samba 3.0.28 At work I use amd64 gentoo and samaba-3.0.28a and simlinks work just fine. It must be a permissions problem. Does the windows XP user have permissions on the /tmp folder on the gentoo box? John John -- Jason Gerfen I practice my religion while stepping on your toes... ~The Ditty Bops -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] reiserfs, samba, symlinks and windows
On Thu, Mar 13, 2008 at 12:43 PM, Jason Gerfen [EMAIL PROTECTED] wrote: I thought that as well at first but if I change the default share to '/tmp' I am able to map the drive but I am NOT able to view any of the symlinks in that directory with windows. You will not see any symlinks in windows also if the target folder of the symlink is not accessible to the windows user as well. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re-2: [Samba] reiserfs, samba, symlinks and windows
is the share crossing mount points. if so you will need wide links set to yes Original Message Subject: Re: [Samba] reiserfs, samba, symlinks and windows (13-Mar-2008 16:34) From:[EMAIL PROTECTED] To: [EMAIL PROTECTED] I thought that as well at first but if I change the default share to '/tmp' I am able to map the drive but I am NOT able to view any of the symlinks in that directory with windows. John Drescher wrote: On Thu, Mar 13, 2008 at 9:57 AM, Jason Gerfen [EMAIL PROTECTED] wrote: I am having a hard time getting a Windows XP virtual machine to follow a symlink share to a localhost samba share with 'follow symlinks = yes' I have been googling this for a couple of hours now and have found some references but not definite fix. Error from samba: '/tmp/Desktop' does not exist or permission denied when connecting to [desktop] Error was Permission denied System: Linux Gentoo-x86 2.6.23-gentoo-r3 #3 SMP Thu Jan 3 11:46:35 MST 2008 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/ Linux Samba 3.0.28 At work I use amd64 gentoo and samaba-3.0.28a and simlinks work just fine. It must be a permissions problem. Does the windows XP user have permissions on the /tmp folder on the gentoo box? John John -- Jason Gerfen I practice my religion while stepping on your toes... ~The Ditty Bops -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba To: [EMAIL PROTECTED] Cc: samba@lists.samba.org To: [EMAIL PROTECTED] Cc: samba@lists.samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Attributes
Hello, i have a problem with file attributes through samba sharing, the owner of the file can modify attribute (read only for example), but in my case, i want to allow a user of the file's group to change attributes, how can i do that ? thanks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Attributes
On Thu, Mar 13, 2008 at 12:57 PM, Davy Stoffel [EMAIL PROTECTED] wrote: Hello, i have a problem with file attributes through samba sharing, the owner of the file can modify attribute (read only for example), but in my case, i want to allow a user of the file's group to change attributes, how can i do that ? thanks -- dos filemode= yes John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] reiserfs, samba, symlinks and windows
Ok I found something kind of odd and I am not sure if it is related but I changed the home directory path from /tmp/desktop (symlink: desktop - /home/username/Desktop/) to /tmp and receive the following message: find_workgroup_on_subnet: workgroup search for SCL on subnet 192.168.0.1: found. However, if I change the path back to my symlink I receive this error: find_name_on_subnet: on subnet 192.168.0.1 - name SCL1e NOT FOUND Not sure about this but I tried the permissions on the symlink to 777 as well as the contents of the symlink absolute path and am still not able to map the share. Any help is appreciated. John Drescher wrote: On Thu, Mar 13, 2008 at 12:43 PM, Jason Gerfen [EMAIL PROTECTED] wrote: I thought that as well at first but if I change the default share to '/tmp' I am able to map the drive but I am NOT able to view any of the symlinks in that directory with windows. You will not see any symlinks in windows also if the target folder of the symlink is not accessible to the windows user as well. John -- Jason Gerfen I practice my religion while stepping on your toes... ~The Ditty Bops -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: cifs verses smbfs for Linux clients -time stamp issue
On Thu, Mar 6, 2008 at 7:06 PM, Günter Kukkukk [EMAIL PROTECTED] wrote: Am Donnerstag, 6. März 2008 schrieb Lukasz Szybalski: After mounting a windows share via cifs I have came across the same issue as described here: http://lists.samba.org/archive/samba/2006-April/119813.html While using vim on files mounted under CIFS, when trying to write an existing file you will randomly be warned The file has been changed since reading it!!!. Normally, this only occurs when another user accesses and saves the between your opening and writing. I can verify this is not the case and is not/was not an issue for files mounted under SMBFS. I'm assuming there is a discrepancy between what the server machine is telling the client is the last modification or access date/time. Is there an option for cifs that fixes this issue? This was on the list back in 2006 I'm not sure why it is still the case in 2008? a) what version of cifs are you running? Outcome of modinfo cifs. debianlaptop:/home/lucas# modinfo cifs filename: /lib/modules/2.6.18-5-686/kernel/fs/cifs/cifs.ko author: Steve French [EMAIL PROTECTED] license:GPL description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows version:1.45 vermagic: 2.6.18-5-686 SMP mod_unload 686 REGPARM gcc-4.1 depends: srcversion: 947121FFF98B91DF60B2922 parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int) parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int) parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int) parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int) b) what kind of operating system - *nix, windows or ... - is running on the remote box to which you connect via cifs? windows 2000 In case you're mounting a remote samba server, are the unix extensions enabled? I'm mounting from linux to windows, but if i mounted to linux how could I tell. Lucas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is there a maximum number of shares samba can serve?
On Thu, Mar 13, 2008 at 03:03:24PM +0100, Marcello Romani wrote: I am being asked to determine the feasibility of serving hundreds (300-400) of directories as individual shares instead of sharing a single parent directory. There is no limit in the number of shares Samba can serve. If you list them all in smb.conf, you will however see increased memory usage, because all share definitions are loaded individually in all smbd processes. A single share definition takes around 3k (we're working on reducing that). So multiply the number of shares defined with the number of concurrent clients and you might see some memory footprint. So if you want to go REALLY large, in the order of thousands, you might want to look at the user shares. If the configuration options you can set in the user shares are sufficient for your needs, then these are much more memory-efficient because the definitions are only loaded in smbd on demand. Volker pgpKTatZ3fP1Q.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem to join windows XP hosts to samba-ldap PDC
HI Hi Again, OK, you have smbldap-tools installed. You haven't provided much information about the error or the nature of the problem, so I'm going to ask a few questions if you don't mind. What operating system and what version are you running? Fedora Core 6 What version of Samba? Samba-3. Did you compile from source or did you use the binary packages provided with the distribution? i use the binary package provide with the distribution Same goes for LDAP, which LDAP, and version? LDAP version 3 Have you read and followed the instruction in the Samba by Example Guide? It's located at: http://www.samba.org/samba/docs/man/Samba-Guide/ I read the official howto of samba but nothing refferint to my problem And most importantly, what errors are you seeing? Just a quick note: My experience has been with Samba 2.x and 3.0.x as a Windows NT type domain controller using Open-LDAP witn smb-ldap tools on RedHat Enterprise Linux and Ubuntu Server. I have used Windows 98, 2000, XP and Vista clients as well as Linux clients. I try to stick with the version provided with the distribution unless there is some new feature that we absolutely need. So, I may not be able to answer all of your questions, but I will try to point you in the right direction. Also, I've found the best information comes from the Official Samba-3 by Example documentation. Plus you'll want to read the release notes for the version you are running. Anyway, please provide the information, and I'll try to help. Jim Please could you have a document that describe all the process of implementation --sam -- TRS - Technologies Reseaux Solutions (http://www.trstech.net) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Can't access shares
Running FC6 and Samba 3.0.24-11.fc6. Workstation is XP Pro Initially, after disabling SELinux and turning off Iptables, I could access the shares that were set up. Came in this morning ready to start copying files and can't get in. Prompts me for a username and password which is rejected. I know it's not my workstation because I have another FC6/Samba server running and have no problem getting to it. Here's what else I know: 1. Samba log for my machine shows no errors. In fact, shows me as connected. 2. Viewing connections to Samba through Webmin shows me as connected. 3. Testing from the console connects me. smbclient //Custer/ccarpenter -U ccarpenter Password: Domain=[HCCMHMRC] OS=[Unix] Server=[Samba 3.0.24-11.fc6] smb: \ 4. From the DOS prompt on my workstation, I can ping the Samba server by name. When I do a net view \\Custer it shows the shares. When I do net use m: \\Custer\Intranet it prompts me for a username and password and then fails. I have added user=ccarpenter to the share--no effect. As far as I know, I didn't make any changes to Samba after I got it working. It's probably something simple, but what am I missing? Carl Carpenter IT Manager Hill Country Community MHMR Center (830)258-5414 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba exporting an NFS mount
Unfortunately this did not solve my problem. I took a look at the original thread and tried the 'posix locking = no' and the 'locking = no' options also, one at a time. None of them seemed to help. Are there any other possible fixes? Thanks, Michael - Original Message - From: Thomas Flaig [EMAIL PROTECTED] To: samba@lists.samba.org Subject: Re: [Samba] Samba exporting an NFS mount Date: Wed, 12 Mar 2008 08:48:09 +0100 Hello, Am Dienstag, 11. März 2008 20:56 schrieb Michael Bagehot: I have an NFS server with all our user's home directories on a server that does not support SMB. I wish to mount this directory on a second system and re-export it via samba so that users can access their unix home directories from their windows boxes. [...] I had similar problems with an debian server last august. The answer was that smb-shares on nfs-filesystems are officially not suppoted because of buggy nfs-implementations. I solved the problem by adding kernel oplocks = no to the global section of my smb.conf (see [2]). HTH Thomas [1] See Message-ID: [EMAIL PROTECTED] on this list: http://article.gmane.org/gmane.network.samba.general/92321 or http://lists.samba.org/archive/samba/2007-August/thread.html and the answers to this posting [2] http://article.gmane.org/gmane.network.samba.general/92426 -- Thomas Flaig mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba = Start a Nursing Career Jumpstart your career with a nursing degree! Request school info. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=d121bcd7b8a9927f7b7150f0754df92f -- Powered by Outblaze -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Cannot disable roaming profile in smb.conf
Hello list, I have a Samba-LDAP PDC and I cannot disable the roaming profile feature in trough my smb.conf file. I am using the following software: FreeBSD 7.0 Release, samba-3.0.28,1, openldap-2.3.41 and smbldap-tools-0.9.4_2. This is a bit of my smb.conf file: [global] workgroup = AMECC_SAL enable privileges = yes security = user encrypt passwords = Yes obey pam restrictions = No ldap passwd sync = Yes log level = 2 syslog = 0 logon script = logon.bat logon drive = logon home = logon path = domain logons = Yes preferred master = yes domain master = yes local master = yes wins support = yes wins proxy = yes dns proxy = no Can anybody help me out here. Thank you all!!! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] WinXP Pro can't join Domain (Samba PDC) after server migration but current domain machine are OK
Hi, I had a Samba PDC running on unstable hardware. I migrate everything on a new machine, I transferred all the configuration files (smb.conf, smbpasswd, .), transferred all the users and groups. Everything was working 100% until I had to join a new machine to Domain, WinXP Pro SP2 can't find de Domin Controler, but all the WinXP Pro SP2 that where already in the Domain before the migration can logon fine, their roaming profiles are updated fine and they access the shares with no problems. I just can't join a new machine. I reinstall Samba completely on the server, reconfigure everything manually (not using the old smb.conf) and no change. I try to disable the firewall, no change. I'm out of idea. I run samba 3.0.26 on Opensuse 10.3 (same as the old server). [global] workgroup = SOE-DOMAIN server string = PDC - File Server log file = /data/log/samba_log.txt deadtime = 15 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile domain logons = Yes preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap ssl = no usershare allow guests = Yes acl group control = Yes profile acls = Yes map acl inherit = Yes printing = cups cups options = raw print command = lpq command = %p lprm command = store dos attributes = Yes strict locking = Yes include = /etc/samba/dhcp.conf [profiles] comment = Network Profiles Service path = %H read only = No create mask = 0600 directory mask = 0700 browseable = No [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ browseable = No [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes browseable = No [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 [data] comment = data path = /data/data read only = No inherit permissions = Yes inherit acls = Yes inherit owner = Yes [programme] comment = Network Profiles Service path = %H read only = No create mask = 0600 directory mask = 0700 use sendfile = Yes browseable = No [email] path = /data/email/ read only = No inherit permissions = Yes inherit acls = Yes inherit owner = Yes case sensitive = No browseable = No blocking locks = No locking = No oplocks = No posix locking = No strict locking = No msdfs proxy = no Thanks for your help and let me know if you need more infos, Mathieu Beaudoin Responsable des T.I. CVT Corp Technologies de vitesse variable Variable Speed Technologies -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] WinXP Pro can't join Domain (Samba PDC) after server migration but current domain machine are OK
On Thu, 2008-03-13 at 20:10 -0400, Mathieu Beaudoin wrote: Hi, I had a Samba PDC running on unstable hardware. I migrate everything on a new machine, I transferred all the configuration files (smb.conf, smbpasswd, .), transferred all the users and groups. Everything was working 100% until I had to join a new machine to Domain, WinXP Pro SP2 can't find de Domin Controler, but all the WinXP Pro SP2 that where already in the Domain before the migration can logon fine, their roaming profiles are updated fine and they access the shares with no problems. I just can't join a new machine. I reinstall Samba completely on the server, reconfigure everything manually (not using the old smb.conf) and no change. I try to disable the firewall, no change. I'm out of idea. I've seen similar behaviour before, always after an upgrade (it seems more common when upgrading a 32bit OS to a 64 bit, IIRC). My fix was to export the tdb to smbpasswd, and reimport. That seems to fix it pretty consistently. Rubin I run samba 3.0.26 on Opensuse 10.3 (same as the old server). [global] workgroup = SOE-DOMAIN server string = PDC - File Server log file = /data/log/samba_log.txt deadtime = 15 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile domain logons = Yes preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap ssl = no usershare allow guests = Yes acl group control = Yes profile acls = Yes map acl inherit = Yes printing = cups cups options = raw print command = lpq command = %p lprm command = store dos attributes = Yes strict locking = Yes include = /etc/samba/dhcp.conf [profiles] comment = Network Profiles Service path = %H read only = No create mask = 0600 directory mask = 0700 browseable = No [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ browseable = No [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes browseable = No [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 [data] comment = data path = /data/data read only = No inherit permissions = Yes inherit acls = Yes inherit owner = Yes [programme] comment = Network Profiles Service path = %H read only = No create mask = 0600 directory mask = 0700 use sendfile = Yes browseable = No [email] path = /data/email/ read only = No inherit permissions = Yes inherit acls = Yes inherit owner = Yes case sensitive = No browseable = No blocking locks = No locking = No oplocks = No posix locking = No strict locking = No msdfs proxy = no Thanks for your help and let me know if you need more infos, Mathieu Beaudoin Responsable des T.I. CVT Corp Technologies de vitesse variable Variable Speed Technologies -- Rubin Bennett RB Technologies http://thatitguy.com [EMAIL PROTECTED] (802)223-4448 They that can give up essential liberty to obtain a little temporary security deserve neither liberty nor safety --Benjamin Franklin, Historical Review of Pennsylvania, 1759 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbind segfaulting
Hi, I am running Redhat RHEL 4, authentification is via kerberos against and AD server, usernames are supplied via ldap service running on another redhat box - winbind has been seg faulting repeating when accessing samba - always the same error message... see logs below - can anyone tell me whats going on? Mar 14 16:12:45 firefly winbindd[14752]: [2008/03/14 16:12:45, 0] lib/util.c:smb_panic(1654) Mar 14 16:12:45 firefly winbindd[14752]: PANIC (pid 14752): internal error Mar 14 16:12:45 firefly winbindd[14752]: [2008/03/14 16:12:45, 0] lib/util.c:log_stack_trace(1758) Mar 14 16:12:45 firefly winbindd[14752]: BACKTRACE: 17 stack frames: Mar 14 16:12:45 firefly winbindd[14752]:#0 winbindd(log_stack_trace+0x1a) [0x552ab813da] Mar 14 16:12:45 firefly winbindd[14752]:#1 winbindd(smb_panic+0x3b) [0x552ab814bb] Mar 14 16:12:45 firefly winbindd[14752]:#2 winbindd [0x552ab6f51f] Mar 14 16:12:45 firefly winbindd[14752]:#3 /lib64/tls/libc.so.6 [0x2a963fe2f0] Mar 14 16:12:45 firefly winbindd[14752]:#4 /lib64/tls/libc.so.6(strlen+0x30) [0x2a96440a30] Mar 14 16:12:45 firefly winbindd[14752]:#5 /lib64/tls/libc.so.6(__strdup+0x16) [0x2a96440776] Mar 14 16:12:45 firefly winbindd[14752]:#6 winbindd(smbldap_set_creds+0xc4) [0x552ac64374] Mar 14 16:12:45 firefly winbindd[14752]:#7 winbindd [0x552ac80f06] Mar 14 16:12:45 firefly winbindd[14752]:#8 winbindd [0x552ac8368d] Mar 14 16:12:45 firefly winbindd[14752]:#9 winbindd(idmap_init+0x36d) [0x552ac7bb3d] Mar 14 16:12:45 firefly winbindd[14752]:#10 winbindd(idmap_sids_to_unixids+0x2d) [0x552ac7dcfd] Mar 14 16:12:45 firefly winbindd[14752]:#11 winbindd(idmap_sid_to_uid+0x5e) [0x552ac80b1e] Mar 14 16:12:45 firefly winbindd[14752]:#12 winbindd(winbindd_getpwent+0x176) [0x552ab02b26] Mar 14 16:12:45 firefly winbindd[14752]:#13 winbindd [0x552ab00233] Mar 14 16:12:45 firefly winbindd[14752]:#14 winbindd(main+0x7bc) [0x552ab00ebc] Mar 14 16:12:45 firefly winbindd[14752]:#15 /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x2a963ec3fb] Mar 14 16:12:45 firefly winbindd[14752]:#16 winbindd [0x552aaff5aa] Mar 14 16:12:45 firefly winbindd[14752]: [2008/03/14 16:12:45, 0] lib/fault.c:dump_core(181) Mar 14 16:12:45 firefly winbindd[14752]: dumping core in /var/log/samba/cores/winbindd Mar 14 16:12:45 firefly winbindd[147 -- Ben -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Confirmation de désinscription
Bonjour, Votre adresse mail samba-vms@lists.samba.org est retirée de notre fichier client. Cordialement PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28-150-g6b4da85
The branch, v3-0-test has been updated via 6b4da85df296c4bde145dd36b24011bb989f9cb2 (commit) via 80228233718319f2d7edbaf328ec048c38ff8359 (commit) from d85c5b4d40a41d22b31d635023edbb31e719c97c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit 6b4da85df296c4bde145dd36b24011bb989f9cb2 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu Mar 13 09:06:41 2008 +0100 VERSION: set version to 3.0.28b in v3-0-test metze commit 80228233718319f2d7edbaf328ec048c38ff8359 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu Mar 13 09:02:18 2008 +0100 Merge commit 'origin/v3-0-stable' into v3-0-test excluding source/VERSION metze --- Summary of changes: WHATSNEW.txt | 204 +++- source/VERSION |2 +- 2 files changed, 203 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 9e023d1..71d3c3a 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -1,3 +1,205 @@ + === + Release Notes for Samba 3.0.28a +Mar 8, 2008 + === + +This is the second production release of the Samba 3.0.28 code +base and is the version that servers should be run for for all +current bug fixes. + +Major bug fixes included in Samba 3.0.28a are: + + o Failure to join Windows 2008 domains + o Windows Vista (including SP1 RC) interop issues + + + +## +Changes +### + +smb.conf changes + + +Parameter Name Description Default +-- --- --- +administrative shareNew No +ldap debug levelNew 0 +ldap debug thresholdNew 10 + + +Changes since 3.0.28 + + +o Michael Adam [EMAIL PROTECTED] +* Fix bug in version string's vendor tag. +* Prevent net getdomainsid from crashing when called as non-root. +* BUG 4801: Correctly implement LSA lookup levels for LookupNames. +* Fixes for internal LookupNames() calls for unqualified users and + groups. +* Remove unnecessary functions when managing domain trust + passwords. +* Fix winbindd on a Samba DC talking to a trusted domain DC + (again). +* Consolidate the detection of the machine_account_name when + obtaining trust credentials from the local database. +* Refactor trust account database routines and session key + management. +* Fix retrieval of trusted domain password policies when + authenticating a user (only when WBFLAG_PAM_GET_PWD is config + flags is set). +* Refactor Winbind's cm_connect_sam(). +* Enable building the notify_fam module. +* Add ldap debug level and ldap debug threshold smb.conf options. + + +o Jeremy Allison [EMAIL PROTECTED] +* Fix cut-n-paste bug when filling in form values for Printer + info. +* Fix SMB signing bug found by Volker. +* Create locking.tdb when running smbstatus before smbd to avoid + confusing error messages. +* Add a portable version of strlcpy and strlcat. +* BUG 4780: Cause user mounts to inherit uid= and gid= from the + calling user when called as non-root, except when overridden on + the command line. Original patch by Steve Langasek. +* BUG 5802: Recent versions of Linux-PAM support localization of + user prompts, so Samba must use the C locale when invoking PAM +* Merge Vista principal detection changes by Andreas Schneider + from 3.2 branch. +* BUG 5121: Fix problems running unix passwd sync on streams based + systems. +* BUG 4612: Fix smbd crash when connecting from an OS/2 client. +* Back port Volker's ACL fixes on newly create files form 3.2. +* Ensure that send_getdc_request() matches the 3.2 code base. +* BUG 3617: Fix crash in nmbd caused by referencing freed memory. +* Fixes for issues reported by IBM checker. +* Fixes for issues reported by Coverity. +* Back port Volker's fix for nlink count. +* Back port SAMR flag fixes from Matt Geddes + [EMAIL PROTECTED]. +* BUG 4929: Cope with protected ACL set correctly (based on work + from Jim McDonough). +* Fix ACL set bug when group being set is the primary group. +* Ensure NDR wire-reads of string types are always null + terminated. +* BUG 5247: Fix mget wildcard expansion in smbclient. +* Fix bug in SPNEGO negotiation. +* BUG 3617: Fix Invalid read of size 4 errors. +* BUG 5267: Prevent nmbd from shutting down when no network +
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28a-5-g34500b4
The branch, v3-0-test has been updated via 34500b412bf4c67c28d005a3395ea4f4a26622f6 (commit) via e3573261c079bf4e0d4642d4520a5e6eaea41b13 (commit) via a49084cad39daa07d3b45eea5d33240e58f919c8 (commit) from 6b4da85df296c4bde145dd36b24011bb989f9cb2 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit 34500b412bf4c67c28d005a3395ea4f4a26622f6 Merge: 6b4da85df296c4bde145dd36b24011bb989f9cb2 e3573261c079bf4e0d4642d4520a5e6eaea41b13 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu Mar 13 09:09:49 2008 +0100 Merge commit 'origin/v3-0-stable' into v3-0-test bring in the release-3-0-28a tag into the history of v3-0-test... Sorry I messed up the last merge which should have contained this already... metze --- Summary of changes: Changeset truncated at 500 lines: -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1284-g9391f6f
The branch, v4-0-test has been updated via 9391f6f80461be2b214a881782aecf7df8a4aba3 (commit) from a3e1f2830679a56366f0080115de504cdb0144f7 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 9391f6f80461be2b214a881782aecf7df8a4aba3 Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu Mar 13 14:27:10 2008 +0100 configure: when detecting python we should disable pyconfig.h This fixes the detection on HP-UX where the pyconfig.h contains bogus defines. metze --- Summary of changes: source/scripting/python/config.m4 |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/scripting/python/config.m4 b/source/scripting/python/config.m4 index 2142cd9..aac98eb 100644 --- a/source/scripting/python/config.m4 +++ b/source/scripting/python/config.m4 @@ -22,6 +22,8 @@ AC_DEFUN([TRY_LINK_PYTHON], CFLAGS=$CFLAGS $2 AC_TRY_LINK([ + /* we have our own configure tests */ + #define Py_PYCONFIG_H 1 #include Python.h #include stdlib.h ],[ -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1285-gf1c2207
The branch, v4-0-test has been updated via f1c2207b3d9411eac27cb85891f62e9d05bf5118 (commit) from 9391f6f80461be2b214a881782aecf7df8a4aba3 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit f1c2207b3d9411eac27cb85891f62e9d05bf5118 Author: Michael Adam [EMAIL PROTECTED] Date: Thu Mar 13 14:30:23 2008 +0100 fix build of asn1_compile when there is no system inet_aton() function. Michael --- Summary of changes: source/heimdal_build/config.mk |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/heimdal_build/config.mk b/source/heimdal_build/config.mk index 45bfd8e..169e84e 100644 --- a/source/heimdal_build/config.mk +++ b/source/heimdal_build/config.mk @@ -471,6 +471,7 @@ OBJ_FILES = \ ../heimdal/lib/roken/get_window_size.ho \ ../heimdal/lib/roken/estrdup.ho \ ../heimdal/lib/roken/ecalloc.ho \ + ../heimdal/lib/roken/inet_aton.ho \ ../heimdal/lib/asn1/symbol.ho \ ../heimdal/lib/vers/print_version.ho \ ../lib/socket_wrapper/socket_wrapper.ho \ -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1286-g17997dd
The branch, v4-0-test has been updated via 17997dd9bcd385fcf27646d832ad824cc2a0800a (commit) from f1c2207b3d9411eac27cb85891f62e9d05bf5118 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 17997dd9bcd385fcf27646d832ad824cc2a0800a Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu Mar 13 15:55:56 2008 +0100 build: we don't rely on bash yet:-) '==' should be just '=' metze --- Summary of changes: source/scripting/python/config.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/scripting/python/config.mk b/source/scripting/python/config.mk index a16d737..09c7781 100644 --- a/source/scripting/python/config.mk +++ b/source/scripting/python/config.mk @@ -21,7 +21,7 @@ swig:: pythonmods .SUFFIXES: _wrap.c .i .i_wrap.c: - [ $(SWIG) == no ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $ + [ $(SWIG) = no ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $ realdistclean:: @echo Removing SWIG output files -- Samba Shared Repository
svn commit: samba-web r1176 - in trunk: . devel history
Author: deryck Date: 2008-03-13 15:15:54 + (Thu, 13 Mar 2008) New Revision: 1176 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1176 Log: Some link cleans up after the 3.0.28a release. Modified: trunk/devel/index.html trunk/history/index.html trunk/index.html Changeset: Modified: trunk/devel/index.html === --- trunk/devel/index.html 2008-03-08 16:58:05 UTC (rev 1175) +++ trunk/devel/index.html 2008-03-13 15:15:54 UTC (rev 1176) @@ -20,8 +20,8 @@ 3.0.x and 2.2.x versions of Samba, which are no longer in active development. /p -pThe latest production release is emSamba 3.0.28/em (a -href=/samba/history/samba-3.0.28.htmlrelease notes/a and a +pThe latest production release is emSamba 3.0.28a/em (a +href=/samba/history/samba-3.0.28a.htmlrelease notes/a and a href=/samba/download/download/a)./p pWith the release of version 3 of the GPL, the Samba Team has decided to Modified: trunk/history/index.html === --- trunk/history/index.html2008-03-08 16:58:05 UTC (rev 1175) +++ trunk/history/index.html2008-03-13 15:15:54 UTC (rev 1176) @@ -6,8 +6,8 @@ div class=latest ul - liLatest Release mdash; a href=/samba/#latestSamba 3.2.0pre2/a/li - liCurrent Stable Release mdash; a href=#stableSamba 3.0.28/a/li + liLatest Release mdash; a href=/samba/#latestSamba 3.0.28a/a/li + liCurrent Stable Release mdash; a href=/samba/#latestSamba 3.0.28a/a/li !-- Second link will point to #stable on this page when current release is a development release -- /ul /div @@ -17,7 +17,7 @@ h2Previous Release Announcments/h2 -h4a name=stable10 Dec 2007/a/h4 +h410 Dec 2007/h4 p class=headlineSamba 3.0.28 Available for Download/p pSamba 3.0.28 is a security release to address a href=/samba/security/CVE-2007-6015/a. Modified: trunk/index.html === --- trunk/index.html2008-03-08 16:58:05 UTC (rev 1175) +++ trunk/index.html2008-03-13 15:15:54 UTC (rev 1176) @@ -34,7 +34,7 @@ now/a. See a href=/samba/history/samba-3.0.28a.htmlthe release notes for more info/a./p -h4a name=latest5 March 2008/a/h4 +h45 March 2008/h4 p class=headlineSamba 3.2.0pre2 Available for Download/p pThis is the second preview release of Samba 3.2.0. This is *not* @@ -54,7 +54,7 @@ be made available on a volunteer basis and can be found in the a href=/samba/ftp/Binary_Packages/Binary_Packages download area/a./p -h4a name=latest17 January 2008/a/h4 +h417 January 2008/h4 p class=headlineSamba 4.0.0alpha2 Available for Download/p pSamba 4 is the ambitious next version of the Samba suite that is being
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1287-gb6bcd66
The branch, v4-0-test has been updated via b6bcd66612eb3e507da94eb6f05e5d0317a8276c (commit) from 17997dd9bcd385fcf27646d832ad824cc2a0800a (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit b6bcd66612eb3e507da94eb6f05e5d0317a8276c Author: Stefan Metzmacher [EMAIL PROTECTED] Date: Thu Mar 13 16:26:37 2008 +0100 build: compile_et also needs inet_aton() metze --- Summary of changes: source/heimdal_build/config.mk |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/heimdal_build/config.mk b/source/heimdal_build/config.mk index 169e84e..0235a97 100644 --- a/source/heimdal_build/config.mk +++ b/source/heimdal_build/config.mk @@ -501,6 +501,7 @@ OBJ_FILES = ../heimdal/lib/vers/print_version.ho \ ../heimdal/lib/roken/get_window_size.ho \ ../heimdal/lib/roken/strupr.ho \ ../heimdal/lib/roken/setprogname.ho \ + ../heimdal/lib/roken/inet_aton.ho \ ../lib/socket_wrapper/socket_wrapper.ho \ replace.ho PRIVATE_DEPENDENCIES = HEIMDAL_COM_ERR_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H EXT_SOCKET EXT_NSL -- Samba Shared Repository
svn commit: samba-web r1177 - in trunk: images style team
Author: deryck Date: 2008-03-13 15:29:09 + (Thu, 13 Mar 2008) New Revision: 1177 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1177 Log: Update the team page with a photo from the CIFS workshop last October. (Thanks, Rafal, for the photo.) Added: trunk/images/team2007-1.jpg trunk/images/team2007.jpg Modified: trunk/style/wide.css trunk/team/index.html Changeset: Added: trunk/images/team2007-1.jpg === (Binary files differ) Property changes on: trunk/images/team2007-1.jpg ___ Name: svn:mime-type + application/octet-stream Added: trunk/images/team2007.jpg === (Binary files differ) Property changes on: trunk/images/team2007.jpg ___ Name: svn:mime-type + application/octet-stream Modified: trunk/style/wide.css === --- trunk/style/wide.css2008-03-13 15:15:54 UTC (rev 1176) +++ trunk/style/wide.css2008-03-13 15:29:09 UTC (rev 1177) @@ -45,8 +45,8 @@ text-align:center; } .teampic img { - width:431px; - height:300px; + width:500px; + height:400px; } Modified: trunk/team/index.html === --- trunk/team/index.html 2008-03-13 15:15:54 UTC (rev 1176) +++ trunk/team/index.html 2008-03-13 15:29:09 UTC (rev 1177) @@ -10,14 +10,17 @@ actively doing Git checkins is approximately 10 - 12 people. Of course, there is a href=http://projects.samba.org/;always room to help/a./p -pHere is a new photo of some of us at this year's CIFS conference:/p +pHere is a photo of some of us at the + a href=http://news.samba.org/calendar/cifs_eng_workshop_2007/;CIFS + Engineering Workshop/a in late 2007:/p div class=teampic - a href=/samba/images/team2005-1.jpg - img src=/samba/images/team2005-1-small.jpg alt=Left to Right:John Terpstra, Derrell Lipman, Chris Hertel, Jerry Carter, Andrew Bartlett, Stefan Metzmacher, Steve French, Volker Lendecke, Rafal Szczesniak, Jelmer Vernooij, Guenther Deschner, Lars Muuml;ller, James Peach, Jeremy Allison, Andrew Tridgell, Tim Potter, Marc Kaplan //a + a href=/samba/images/team2007.jpg + img src=/samba/images/team2007-1.jpg alt= //a /div ul + liPhoto from 2005 a href=/samba/images/team2005-1.jpghere/a/li liPhoto from 2004 a href=/samba/images/team2004.jpghere/a/li liPhoto from 2003 a href=/samba/images/team_l2003.jpghere/a/li liPhoto from 2002 a href=/samba/team/team2002.htmlhere/a/li
svn commit: samba-web r1178 - in trunk/support: .
Author: deryck Date: 2008-03-13 18:05:24 + (Thu, 13 Mar 2008) New Revision: 1178 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=1178 Log: Some support updates. Modified: trunk/support/brazil.html trunk/support/canada.html trunk/support/germany.html trunk/support/venezuela.html Changeset: Modified: trunk/support/brazil.html === --- trunk/support/brazil.html 2008-03-13 15:29:09 UTC (rev 1177) +++ trunk/support/brazil.html 2008-03-13 18:05:24 UTC (rev 1178) @@ -54,4 +54,19 @@ /small/pre +hr / +h3Misc/h3 +!-- Added: 13 March 2008 -- +presmall +Linwork - SP - Brasil +We provide technical support and consulting about SAMBA and services +integration in heterogeneous enviroments, as well Samba with LDAP, +Kerberos, etc. + +a href=http://www.linwork.com.br;http://www.linwork.com.br/a +a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a ++55-11-3532-2473 +/small/pre + + !--#include virtual=footer_support.html -- Modified: trunk/support/canada.html === --- trunk/support/canada.html 2008-03-13 15:29:09 UTC (rev 1177) +++ trunk/support/canada.html 2008-03-13 18:05:24 UTC (rev 1178) @@ -321,5 +321,30 @@ /small/pre +!-- Added: 13 March 2008 -- +hr / +presmall +Reality Information Systems +42 Rue Guy, + +Vaudreuil, Qc + +J7V 8B2 + +Phone: (514) 777-9453 +Website: a href=http://www.realitywebs.ca/;http://www.realitywebs.ca//a +email: a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a + +Reality Information Systems is an experienced partner in providing open +source consulting services to SME in the Montreal, Quebec region. With +over 5 years of experience serving clients we are your local resource for +building a flexible secure heterogeneous network based on Samba and open +source technology. +/small/pre + + + + + !--#include virtual=footer_support.html -- Modified: trunk/support/germany.html === --- trunk/support/germany.html 2008-03-13 15:29:09 UTC (rev 1177) +++ trunk/support/germany.html 2008-03-13 18:05:24 UTC (rev 1178) @@ -22,7 +22,7 @@ Die GONICUS GmbH ist ein unabhaengiger Open-Source-Dienstleister, der im Februar 2001 von erfahrenen OSS-Spezialisten gegruendet wurde. Die rund 15 Mitarbeiter aus den verschiedenen Bereichen (Consulting, System Engineering, -Sales) verfügen ueber langjaehriges und umfassendes Know-how im +Sales) verfuuml;gen ueber langjaehriges und umfassendes Know-how im Open-Source-Umfeld und dort speziell beim Einsatz von GNU/Linux. Der Hauptsitz von GONICUS befindet sich in Arnsberg. Die deutschlandweite Beratungs- und Projekttaetigkeit wird durch eine Repraesentanz in Bonn @@ -103,10 +103,10 @@ E-Mail: a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a Web:a href=http://www.dadi-linux.de;http://www.dadi-linux.de/a -dadi-linux ist ein Informatik Dienstleister und Spezialist für +dadi-linux ist ein Informatik Dienstleister und Spezialist fuuml;r Projekte rund um offene Systeme. Unser Schwerpunkt liegt auf der Integration von Windows und UNIX/Linux. -In diesem Umfeld bieten wir natürlich auch Support für Samba. +In diesem Umfeld bieten wir natuuml;rlich auch Support fuuml;r Samba. dadi-linux is an informatics service provider specializing in projects around open systems. Our focus is on integration of @@ -256,7 +256,7 @@ maszlig;geschneiderten Open Source Louml;sungen in heterogenen Netzwerken. Weiterhin bieten wir Sicherheitsaudits und -konzepte an. -Wir stellen Open-Source-basierten Louml;sungen u. a. für folgende +Wir stellen Open-Source-basierten Louml;sungen u. a. fuuml;r folgende Anwendungen bereit: Samba-Server @@ -267,7 +267,7 @@ Router Firewalls Printserver -Einwahlserver fuuml;r Außendienst, Virtual Private Networks +Einwahlserver fuuml;r Auszlig;endienst, Virtual Private Networks Telefon-/Faxanlage CD-Server Clients (CrossoverOffice, Citrix...) @@ -368,7 +368,7 @@ Unser Samba Support reicht von einfachen Servern bis hin zu komplexen Infrastrukturen and verschiedenen Standorten mit einer einheitlichen LDAP Benutzerdatenbank. Besonders Augenmerk legen wir auf die Integration -bestehender Windows Server, falls eine vollstauml;ndige Migration nicht möglich +bestehender Windows Server, falls eine vollstauml;ndige Migration nicht mouml;glich sein sollte. /small/pre @@ -451,7 +451,7 @@ hr / presmall Company Name: itsystems Deutschland AG -Address: Linprunstraße 10, 80335 Muuml;nchen +Address: Linprunstraszlig;e 10, 80335 Muuml;nchen Country: Germany Phone:+49 89 520468 40 Fax: +49 89 520468 59 @@ -467,16 +467,43 @@ Betriebssystemumgebungen und hier insbesondere mit Samba. Dies reicht von Samba3 als File und Printserver (CUPS) bis zum Samba3 Domauml;nencontroller (Single-Sign-On mit openldap). Und auf Wunsch in redundanter, geclusterter
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-240-g8dad80b
The branch, v3-2-test has been updated via 8dad80b4719691d66827ed46bebb963c0f8ba568 (commit) via 0abc8863f87fe5d2473492797c010784cb086008 (commit) from 5f2b3145fcaeee58f285b6527e9fac09c5337e8a (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 8dad80b4719691d66827ed46bebb963c0f8ba568 Author: Michael Adam [EMAIL PROTECTED] Date: Thu Mar 13 23:08:07 2008 +0100 Allow parameter include in registry based configuration (again). This is for instance important to allow includes with %I to setup individual logging (e.g.) for certain clients. Michael commit 0abc8863f87fe5d2473492797c010784cb086008 Author: Michael Adam [EMAIL PROTECTED] Date: Thu Mar 13 23:02:58 2008 +0100 Fix %I macro expansion for IPv4 mapped IPv6 addresses. On some systems (linux e.g.), when listening on ipv6 and ipv4, addresses of ipv4 clients are printed as mapped ipv4 addresses by getnameinfo (e.g. :::127.0.0.1). This re-establishes the original behaviour of %I to expand to the plain ipv4 address for an ipv4 client. Michael --- Summary of changes: source/lib/substitute.c | 10 -- source/lib/util_reg.c |1 - 2 files changed, 8 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/substitute.c b/source/lib/substitute.c index 59b54c4..ce97a36 100644 --- a/source/lib/substitute.c +++ b/source/lib/substitute.c @@ -597,10 +597,16 @@ char *alloc_sub_basic(const char *smb_name, const char *domain_name, } a_string = realloc_string_sub(a_string, %D, r); break; - case 'I' : + case 'I' : { + int offset = 0; + client_addr(get_client_fd(), addr, sizeof(addr)); + if (strnequal(addr,:::,7)) { + offset = 7; + } a_string = realloc_string_sub(a_string, %I, - client_addr(get_client_fd(),addr, sizeof(addr))); + addr + offset); break; + } case 'i': a_string = realloc_string_sub( a_string, %i, client_socket_addr(get_client_fd(), addr, sizeof(addr)) ); diff --git a/source/lib/util_reg.c b/source/lib/util_reg.c index 2475dca..a2a6297 100644 --- a/source/lib/util_reg.c +++ b/source/lib/util_reg.c @@ -127,7 +127,6 @@ bool registry_smbconf_valname_forbidden(const char *valname) { /* hard code the list of forbidden names here for now */ const char *forbidden_valnames[] = { - include, lock directory, lock dir, config backend, -- Samba Shared Repository
Build status as of Fri Mar 14 00:00:02 2008
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2008-03-13 00:00:32.0 + +++ /home/build/master/cache/broken_results.txt 2008-03-14 00:00:47.0 + @@ -1,22 +1,22 @@ -Build status as of Thu Mar 13 00:00:02 2008 +Build status as of Fri Mar 14 00:00:02 2008 Build counts: Tree Total Broken Panic build_farm 0 0 0 -ccache 29 8 0 +ccache 30 9 0 ctdb 0 0 0 distcc 1 0 0 -ldb 29 29 0 -libreplace 28 9 0 -lorikeet-heimdal 22 21 0 -pidl 16 4 0 -ppp 9 0 0 -rsync29 14 0 +ldb 30 30 0 +libreplace 29 9 0 +lorikeet-heimdal 23 20 0 +pidl 17 4 0 +ppp 10 0 0 +rsync30 13 0 samba-docs 0 0 0 -samba-gtk3 3 0 -samba_3_2_test 28 23 0 -samba_4_0_test 26 24 1 -smb-build27 3 0 -talloc 29 7 0 -tdb 29 14 0 +samba-gtk4 4 0 +samba_3_2_test 29 25 0 +samba_4_0_test 27 26 0 +smb-build28 3 0 +talloc 30 8 0 +tdb 30 15 0
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1291-g353bb79
The branch, v4-0-test has been updated via 353bb79f568f20c8469cb9458f7b14c24612ad23 (commit) via e7afb31df1f12a3cd39ed9b95d76edc6ff0d6a70 (commit) via d50b76ed71ab6bc8e63926540638df5af10202ae (commit) via facbc8dfa5188fdd610f400b5be6e05bc33b0820 (commit) from b6bcd66612eb3e507da94eb6f05e5d0317a8276c (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit 353bb79f568f20c8469cb9458f7b14c24612ad23 Author: Andrew Bartlett [EMAIL PROTECTED] Date: Fri Mar 14 12:26:03 2008 +1100 Rework our SAMR test and SAMR server. Now that we don't create users/domain groups/aliases in the builtin domain, we hit some bugs in the server-side implementation of the enumeration functions. In essence, it turns out to be: don't treat 0 as a special case. Also, fix up the PDC name to always be returned. I'm sure nothing actually uses it, particularly for BUILTIN... Andrew Bartlett commit e7afb31df1f12a3cd39ed9b95d76edc6ff0d6a70 Author: Andrew Bartlett [EMAIL PROTECTED] Date: Fri Mar 14 10:11:03 2008 +1100 Check for Administrator as a Alias (copypaste bug) Andrew Bartlett commit d50b76ed71ab6bc8e63926540638df5af10202ae Merge: facbc8dfa5188fdd610f400b5be6e05bc33b0820 b6bcd66612eb3e507da94eb6f05e5d0317a8276c Author: Andrew Bartlett [EMAIL PROTECTED] Date: Fri Mar 14 09:59:24 2008 +1100 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local commit facbc8dfa5188fdd610f400b5be6e05bc33b0820 Author: Andrew Bartlett [EMAIL PROTECTED] Date: Thu Mar 13 17:26:01 2008 +1100 Rework SAMR functions to avoid gendb_search() The gendb_*() API does not return error codes, and mixes error returns with the count of returned entries. Andrew Bartlett --- Summary of changes: source/rpc_server/samr/dcesrv_samr.c | 136 +- source/rpc_server/samr/dcesrv_samr.h |2 + source/torture/rpc/lsa.c |2 +- source/torture/rpc/samr.c| 87 +++-- 4 files changed, 150 insertions(+), 77 deletions(-) Changeset truncated at 500 lines: diff --git a/source/rpc_server/samr/dcesrv_samr.c b/source/rpc_server/samr/dcesrv_samr.c index da03d83..0aa4d65 100644 --- a/source/rpc_server/samr/dcesrv_samr.c +++ b/source/rpc_server/samr/dcesrv_samr.c @@ -324,11 +324,11 @@ static NTSTATUS dcesrv_samr_EnumDomains(struct dcesrv_call_state *dce_call, TALL struct samr_connect_state *c_state; struct dcesrv_handle *h; struct samr_SamArray *array; - int count, i, start_i; + int i, start_i, ret; const char * const dom_attrs[] = { cn, NULL}; const char * const ref_attrs[] = { nETBIOSName, NULL}; - struct ldb_message **dom_msgs; - struct ldb_message **ref_msgs; + struct ldb_result *dom_res; + struct ldb_result *ref_res; struct ldb_dn *partitions_basedn; *r-out.resume_handle = 0; @@ -341,19 +341,18 @@ static NTSTATUS dcesrv_samr_EnumDomains(struct dcesrv_call_state *dce_call, TALL partitions_basedn = samdb_partitions_dn(c_state-sam_ctx, mem_ctx); - count = gendb_search(c_state-sam_ctx, -mem_ctx, NULL, dom_msgs, dom_attrs, -(objectClass=domain)); - if (count == -1) { - DEBUG(0,(samdb: no domains found in EnumDomains\n)); + ret = ldb_search_exp_fmt(c_state-sam_ctx, mem_ctx, dom_res, ldb_get_default_basedn(c_state-sam_ctx), +LDB_SCOPE_SUBTREE, dom_attrs, (|(|(objectClass=domain)(objectClass=builtinDomain))(objectClass=samba4LocalDomain))); + if (ret != LDB_SUCCESS) { + DEBUG(0,(samdb: unable to find domains: %s\n, ldb_errstring(c_state-sam_ctx))); return NT_STATUS_INTERNAL_DB_CORRUPTION; } - *r-out.resume_handle = count; + *r-out.resume_handle = dom_res-count; start_i = *r-in.resume_handle; - if (start_i = count) { + if (start_i = dom_res-count) { /* search past end of list is not an error for this call */ return NT_STATUS_OK; } @@ -366,23 +365,27 @@ static NTSTATUS dcesrv_samr_EnumDomains(struct dcesrv_call_state *dce_call, TALL array-count = 0; array-entries = NULL; - array-entries = talloc_array(mem_ctx, struct samr_SamEntry, count - start_i); + array-entries = talloc_array(mem_ctx, struct samr_SamEntry, dom_res-count - start_i); if (array-entries == NULL) { return NT_STATUS_NO_MEMORY; } - for (i=0;icount-start_i;i++) { - int ret; + for (i=0;idom_res-count-start_i;i++) { array-entries[i].idx = start_i + i; /* try
[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1292-gdb3b5f1
The branch, v4-0-test has been updated via db3b5f16ec8d9b83d8a82a535a4847dce5923663 (commit) from 353bb79f568f20c8469cb9458f7b14c24612ad23 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test - Log - commit db3b5f16ec8d9b83d8a82a535a4847dce5923663 Author: Andrew Bartlett [EMAIL PROTECTED] Date: Fri Mar 14 12:32:07 2008 +1100 Allow more 'domain' objects when looking for a unqiue SID. Andrew Bartlett --- Summary of changes: source/dsdb/samdb/ldb_modules/samldb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/dsdb/samdb/ldb_modules/samldb.c b/source/dsdb/samdb/ldb_modules/samldb.c index 905cd4a..5407db9 100644 --- a/source/dsdb/samdb/ldb_modules/samldb.c +++ b/source/dsdb/samdb/ldb_modules/samldb.c @@ -293,7 +293,7 @@ int samldb_notice_sid(struct ldb_module *module, /* find the domain DN */ ret = ldb_search_exp_fmt(module-ldb, mem_ctx, dom_res, NULL, LDB_SCOPE_SUBTREE, attrs, -((objectSid=%s)(objectclass=domain)), + ((objectSid=%s)(|(|(objectClass=domain)(objectClass=builtinDomain))(objectClass=samba4LocalDomain))), ldap_encode_ndr_dom_sid(mem_ctx, dom_sid)); if (ret == LDB_SUCCESS) { if (dom_res-count == 0) { @@ -369,7 +369,7 @@ static int samldb_generate_samAccountName(struct ldb_module *module, TALLOC_CTX /* Format: $00- */ do { - *name = talloc_asprintf(mem_ctx, $%.6X-%.6X%.6X, (unsigned int)random(), (unsigned int)random(), (unsigned int)random()); + *name = talloc_asprintf(mem_ctx, $%.6X-%.6X%.6X, (unsigned int)generate_random(), (unsigned int)generate_random(), (unsigned int)generate_random()); /* TODO: Figure out exactly what this is meant to conflict with */ ret = ldb_search_exp_fmt(module-ldb, mem_ctx, res, dom_dn, LDB_SCOPE_SUBTREE, attrs, -- Samba Shared Repository