Re: [Samba] memory optimization for Samba
On Mon, Jun 23, 2008 at 10:57:46AM +0530, [EMAIL PROTECTED] wrote: I am new to samba internals. I have to port samba on an embedded target with strict memory constraints. I want to weather or not Samba can be optimized for smaller memory footprints and if yes how? Can samba be installed by removing some packages or is there any other version available for embedded targets? Any detail provided will be of great help. Right now we're pretty monolithic, sorry. What is more constrained in your environment? Disk or RAM? We've put quite a bit of effort into reducing the dynamic memory requirements with 3.2, but our disk footprint is still way larger than it strictly needs to be. We're working towards using more shared libraries for common components, but this is not fully done yet. We'd appreciate help here :-) Volker pgpOyRZaiYm0P.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] memory optimization for Samba
Hi, Thanks for ur reply. My major constraint is the RAM. Also i want to know weather samba has been ported to embedded targets with such constraints(RAM) and what is the minimun RAM requirement for samba 3.2. If you can guide me towards any good samba 3.2 installation/internals or optimization tutorials will be of some help to me. Regards, Prateek Mathur Software Engineer Volker Lendecke [EMAIL PROTECTED] 06/23/2008 11:51 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc samba@lists.samba.org Subject Re: [Samba] memory optimization for Samba On Mon, Jun 23, 2008 at 10:57:46AM +0530, [EMAIL PROTECTED] wrote: I am new to samba internals. I have to port samba on an embedded target with strict memory constraints. I want to weather or not Samba can be optimized for smaller memory footprints and if yes how? Can samba be installed by removing some packages or is there any other version available for embedded targets? Any detail provided will be of great help. Right now we're pretty monolithic, sorry. What is more constrained in your environment? Disk or RAM? We've put quite a bit of effort into reducing the dynamic memory requirements with 3.2, but our disk footprint is still way larger than it strictly needs to be. We're working towards using more shared libraries for common components, but this is not fully done yet. We'd appreciate help here :-) Volker __-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] memory optimization for Samba
On Mon, Jun 23, 2008 at 12:14:59PM +0530, [EMAIL PROTECTED] wrote: Thanks for ur reply. My major constraint is the RAM. Also i want to know weather samba has been ported to embedded targets with such constraints(RAM) and what is the minimun RAM requirement for samba 3.2. That's difficult to say, as the exact RAM requirements very much depend on the actual client actions. If I remember correctly, last time I measured it an idle client added roughly 300k memory footprint to the running system. I did not measure though how much just starting Samba was. If you can guide me towards any good samba 3.2 installation/internals or optimization tutorials will be of some help to me. For installation, there's tons of stuff around via www.samba.org. For internals, ask on samba-technical or join the #samba-technical channel on irc.freenode.net. Volker pgp96eJbsQxyW.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] Re: WINS server looses election irregular in a heterogeneous network
Dear Giulio, thank you for the script. I will use it to solve my problem. I searched for a command, which restarts an election. Although it's not really a good solution, it is much better than my cron-samba-restart. Best regards, Timo Same issue. I put the following in cron: #!/bin/sh PATH=/usr/bin:/usr/sbin:/bin:/sbin nmblookup -M -- - 21 | grep IP address of my samba server /dev/null 21 if [ $? != 0 ]; then nmblookup -M -- -|mail -s Force master browser election my email /usr/bin/smbcontrol nmbd force-election fi The smbcontrol command has the same effect as restarting samba (election is won). Then I tell the person using the PC I see in the email to turn off the browser service in his/her XP to avoid the same issue in the future. -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- Glück Auf Timo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] publishing printer to ADS not working
Hello everybody, I have run into a problem which I am not able to resolve by myself :-( Yesterday I have added a new printer (cups) to a Samba 3.0.28a server. The new printer showed up in the network neighborhood (Windows XP) and I was able to print to the new print queue. Then I tried to publish the new printer to the AD ( we use a windows 2000 server for user administration and GPOs) with the following command: net ads printer publish novapr07 -U the command does not return any errors, so I thought that it was successful, but unfortunately the new printer did not show up in the ADS. In the samba logs there is no sign of an errors :-( I then performed the same command again but with debugging enabled (-d 3). It returened following output: --snip [2008/06/23 10:12:40, 3] param/loadparm.c:lp_load(5055) lp_load: refreshing parameters [2008/06/23 10:12:40, 3] param/loadparm.c:init_globals(1440) Initialising global parameters [2008/06/23 10:12:40, 3] param/params.c:pm_process(572) params.c:pm_process() - Processing configuration file /etc/samba/smb.conf [2008/06/23 10:12:40, 3] param/loadparm.c:do_section(3794) Processing section [global] [2008/06/23 10:12:40, 2] lib/interface.c:add_interface(81) added interface ip=10.2.1.5 bcast=10.2.1.255 nmask=255.255.255.0 bulldog's password: [2008/06/23 10:12:44, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: 10.2.1.8, NOVAW2K01.novanetwork.loc [2008/06/23 10:12:44, 3] libads/ldap.c:ads_connect(394) Connected to LDAP server 10.2.1.8 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(300) ads_sasl_spnego_bind: got server principal name = [EMAIL PROTECTED] [2008/06/23 10:12:44, 3] libsmb/clikrb5.c:ads_krb5_mk_req(593) ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache found) [2008/06/23 10:12:44, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(528) ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Mo, 23 Jun 2008 20:12:44 CEST [2008/06/23 10:12:44, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: 10.2.1.8, NOVAW2K01.novanetwork.loc [2008/06/23 10:12:44, 3] libads/ldap.c:ads_connect(394) Connected to LDAP server 10.2.1.8 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(300) ads_sasl_spnego_bind: got server principal name = [EMAIL PROTECTED] [2008/06/23 10:12:44, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(528) ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Mo, 23 Jun 2008 20:12:44 CEST [2008/06/23 10:12:44, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: 10.2.1.8, NOVAW2K01.novanetwork.loc [2008/06/23 10:12:44, 3] libads/ldap.c:ads_connect(394) Connected to LDAP server 10.2.1.8 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(300) ads_sasl_spnego_bind: got server principal name = [EMAIL PROTECTED] [2008/06/23 10:12:44, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(528) ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Mo, 23 Jun 2008 20:12:44 CEST [2008/06/23 10:12:44, 3] libsmb/namequery.c:get_dc_list(1489) get_dc_list: preferred server list: 10.2.1.8, NOVAW2K01.novanetwork.loc [2008/06/23 10:12:44, 3] libads/ldap.c:ads_connect(394) Connected to LDAP server 10.2.1.8 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2 [2008/06/23 10:12:44, 3] libads/sasl.c:ads_sasl_spnego_bind(291) ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 [2008/06/23 10:12:44, 3]
Re: [Samba] problems installing samba
Your problem is not with the samba software , but with the rpm packaging program. since the rpm [which is the main tool for installing software on CentOs ] seems to be broken - you'll need to address that issue before any samba related problems. try this help ; http://www.rpm.org/hintskinks/repairdb/ Assaf On Sunday 22 June 2008 06:58:41 Rajeev R. Veedu wrote: Dear all, I am trying to install Samba 3.0.30 on a new Centos 5 machine and I am getting following error. Samba has been downloaded form setnet. Could some please let me know how to fix this? rpmdb: Program version 4.3 doesn't match environment version error: db4 error(-30974) from dbenv-open: DB_VERSION_MISMATCH: Database environment version mismatch warning: cannot open Solve database in /usr/lib/rpmdb/x86_64-redhat-linux/CentO rpmdb: Program version 4.3 doesn't match environment version Rajeev R. Veedu -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba ADS and ms licenses
Hi, a quick question. Im running samba, but i want to use ads for auth. I have 1 windows 2000 ( or 2003 ) available, but without extra licences ( just the default 5 users ) in my current enviroment im having about 70 users. now my question. I want to install the windows 2000 or 2003 and use only the ADS install my samba, connect it with the ads of windows. Now its al about, my pc's are going to auth against samba ( ads ) do i have licensing problemen with my MS server or not, it this legal ? Louis http://www.bazuin.nl _ De informatie verzonden in en met dit e-mail bericht is uitsluitend bestemd voor de geadresseerde(n) en is mogelijk vertrouwelijk van aard. Gebruik van deze informatie door anderen dan de geadresseerde is niet toegestaan. Het is voorts niet toegestaan deze informatie openbaar te maken, te verveelvoudigen, te verspreiden en/of aan derden te verstrekken. Bazuin en Partners staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor de tijdige ontvangst ervan. The information contained in this e-mail and in any attachments is intended solely for the attention and use of the named addressee(s) and may be confidential. The use of this information by others than the named addressee(s) is not allowed. Moreover, it is not allowed to disclose, copy or distribute this information. Bazuin en Partners is neither liable for the proper and complete transmission of the information contained in this e-mail, nor for any delay in its receipt. _ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba ADS and ms licenses
Hi, I think its discutable. because you pay for licence, for computer or user. but non of the computers/users ( accept 1 of 2 for the administrator ) connect to the windows server, all auth must go throug samba. i'll go investigate this. thanx for the quick answhere. Louis -Oorspronkelijk bericht- Van: Jakub Zubielik [mailto:[EMAIL PROTECTED] Verzonden: maandag 23 juni 2008 12:24 Aan: L.P.H. van Belle Onderwerp: Re: [Samba] samba ADS and ms licenses Now its al about, my pc's are going to auth against samba ( ads ) do i have licensing problemen with my MS server or not, it this legal ? According to MS consultant it's not :( Best regards JZ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba ADS and ms licenses
I think its discutable. I agree. Users account are in Windows directory (point for MS), but they are only authenticated on Windows machine so they don't actually connect to any shared resources (point for Samba). Going this way... You can create as many accounts as You wish in ADS but if You exceed max connection limit they just can't connect. To me it's self-explanatory, if Samba does not hit this limitation it's ok with MS licencing. Best regards JZ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problems with Windows Offline Folders / Samba
Have recently installed Ubuntu 8.04 and using it as a file server for a small office with Windows XP clients. Am trying to use Windows Offline folders on a number of laptops, but keep getting error messages when users try to sync when rejoining the network - something like cannot synchronize test.txt, access is denied on //server/share/test.txt. The users are all able to read and write files from the server once connected. It seems like only files which are changed or created when the user is offline fail to syncronize. I've read that this is something to do with access control lists, but I'm not that familiar with Samba, so any suggestions as to what I can do to put this right? I thought I'd managed to enable ACL, but I'm not sure. Thanks Russell -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] rplclient setdriver returns error
Hello, wehn cupsaddsmb calls rpcclient it returns with the error SetPrinter call failed! result was WERR_NOMEM I called rpclient from the command line and I get the same error too. rpcclient localhost -Uamoroder -c 'setdriver tech-sekretariat tech-sekretariat' Password: SetPrinter call failed! result was WERR_NOMEM This 64 bit machine has 4GB and only 2.5 are used according to top, so it should not be a memory problem. Can anyone please help me ? Thanks Andreas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] how to connect samba with Active directory on SUSE 10.3
Hi, I intend to connect freeradius 2.0.2-3 to Active directory, following this HOW_TO: http://wiki.freeradius.org/FreeRADIUS_Active_Directory_Integration_HOWTO as i am a real newbi at linux, i am here for some questions. some of them could be silly, but please, excuse me and my poor english too! the HOWTO point a file named smb.conf laocated usually at /etc/samba/smb.conf my fsmb.conf file looks like this: - # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2008-05-28 [global] workgroup = MYDOMAIN printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = Yes [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 operating systeme is SUSE 10.3 and samba version is 3.0.26a - first, in the global section, i wonder which is correct between workgroup = MYDOMAIN and workgroup = MYDOMAIN.LOCAL - Then i identified files like: /usr/share/doc/packages/samba/examples/smb.conf.SUSE /usr/share/doc/packages/samba/examples/smb.conf.default they contains part of the stuffs i have to configure. so my second questionis, have i to take care of these files too or should i just follow the HOWTO and put all my lines in smb.conf only? hoping to be read and understood, thank you Envoyé avec Yahoo! Mail. Une boite mail plus intelligente. _ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Print Command not working in 3.0.30
Greetings, I'm having trouble with the print command setting in Samba 3.0.30. From what I can tell, the commands defined in the print command setting are never executed. Jobs sent the printers are process by CUPS, bypassing the defined print command. When the command: lp -H hold -d %p %s did not work, I created a script that copied the command line used to a file and replace lp in the above setting with my script. The script was never executed. (Jobs were sent directly to CUPS.) I've tried this both with the Slackware Packages of 3.0.30 and with Samba compiled from source. Am I missing something or might this be a bug? Thanks! Stu... -- Stuart Reedy Working hard for a great university! [EMAIL PROTECTED] 859 257-7966 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Michael Weiss ist außer Haus.
Ich werde ab 23.06.2008 nicht im Büro sein. Ich kehre zurück am 13.07.2008. Bitte wenden Sie sich mit dringenden Angelegenheiten an [EMAIL PROTECTED] Danke. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] new clients in PDC
Hi again... I solved the problem related in original mail... Thanks a lot Em Ter, Junho 17, 2008 9:15 am, [EMAIL PROTECTED] escreveu: I think setting profile acls = yes in smb.conf does the trick hi all Every time I include some machine with Windows XP on my PDC domain, I get the message say me that the user is not the owner of profile folder... Then, I run MMC Console and add a snap-in, changing some parts in Computer - Administrative Models - Don't check owner profile folder and other function, called Always accept only local profile... Well, when I have 3 ou 5 machines, I do this by hand... However, when I have more then 10 machines in a LAN, it's hard work to setup MMC Console for all machines... Is there some way to automatic this changing via Server Domain? Thanks for all response... Best regards -- Atenciosamente --- Gilberto Nunes MSN: [EMAIL PROTECTED] Fones: 47-3348-8020 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Message scanned by ClamAV engine (http://www.clamav.net) -- François Legal Message scanned by ClamAV engine (http://www.clamav.net) -- Atenciosamente --- Gilberto Nunes MSN: [EMAIL PROTECTED] Fones: 47-3348-8020 -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Roaming profile f-secure problem
Hi, are there any know problems with f-secure scanner and roaming profiles? We have a lot of users with problems syncing their roaming profile from the domain server. It seems to be a problem with f-secure's on-access scanning (may be timeout problem?). Some users have to login three or four times, before getting their roaming profile and not the default profile. System: 3.0.24-6etch9 Ciao, Marcus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Roaming profile f-secure problem
Marcus Sobchak [EMAIL PROTECTED] wrote: Hi, are there any know problems with f-secure scanner and roaming profiles? We have a lot of users with problems syncing their roaming profile from the domain server. It seems to be a problem with f-secure's on-access scanning (may be timeout problem?). Some users have to login three or four times, before getting their roaming profile and not the default profile. System: 3.0.24-6etch9 Ciao, Marcus I'm running f-prot 6 w/ on access scanning and haven't had any problems specific to roaming profiles. We've also got redirected folders (desktop, start menu, etc.), but I have seen this problem once or twice. Every now and then we'll log in and get a default profile. The next login always works. I see this maybe once a month. Are you sure you're not close to the max Cat 5e length? I've heard of things like this once you start getting towards the upper limits of a cable length. Fprot is somewhat... cranky... so YMMV. Can you provide logs for us? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] : how to connect samba with Active directory on openSUSE 10.3
Hi, I intend to connect freeradius 2.0.2-3 to Active directory, following this HOW_TO: http://wiki.freeradius.org/FreeRADIUS_Active_Directory_Integration_HOWTO as i am a real newbi at linux, i am here for some questions. some of them could be silly, but please, excuse me and my poor english too! the HOWTO point a file named smb.conf laocated usually at /etc/samba/smb.conf my fsmb.conf file looks like this: - # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2008-05-28 [global] workgroup = MYDOMAIN printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = Yes [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 operating systeme is SUSE 10.3 and samba version is 3.0.26a - first, in the global section, i wonder which is correct between workgroup = MYDOMAIN and workgroup = MYDOMAIN.LOCAL - Then i identified files like: /usr/share/doc/packages/samba/examples/smb.conf.SUSE /usr/share/doc/packages/samba/examples/smb.conf.default they contains part of the stuffs i have to configure. so my second questionis, have i to take care of these files too or should i just follow the HOWTO and put all my lines in smb.conf only? hoping to be read and understood, thank you Envoyé avec Yahoo! Mail. Une boite mail plus intelligente. Envoyé avec Yahoo! Mail. Une boite mail plus intelligente. _ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] : how to connect samba with Active directory on openSUSE 10.3
On Monday 23 June 2008 13:21:04 Reveal MAP wrote: Hi, I intend to connect freeradius 2.0.2-3 to Active directory, following this HOW_TO: http://wiki.freeradius.org/FreeRADIUS_Active_Directory_Integration_HOWTO as i am a real newbi at linux, i am here for some questions. some of them could be silly, but please, excuse me and my poor english too! the HOWTO point a file named smb.conf laocated usually at /etc/samba/smb.conf [stuff cut out here] operating systeme is SUSE 10.3 and samba version is 3.0.26a - first, in the global section, i wonder which is correct between workgroup = MYDOMAIN and workgroup = MYDOMAIN.LOCAL - Then i identified files like: /usr/share/doc/packages/samba/examples/smb.conf.SUSE /usr/share/doc/packages/samba/examples/smb.conf.default they contains part of the stuffs i have to configure. so my second questionis, have i to take care of these files too or should i just follow the HOWTO and put all my lines in smb.conf only? hoping to be read and understood, Your request has been read. It is clearly understood. Please read the Samba documentation. There are two detailed books. http://www.samba.org/samba/docs/Samba3-HOWTO.pdf http://www.samba.org/samba/docs/Samba3-ByExample.pdf Given that your experience is just beginning, you may want to see this working with not too much effort. In this case, experiement with the working network examples in the Samba3-ByExample book. If you want to get straight to the implementation you desire, check the chapter (I think it is chapter 7) on adding Domain Member Clients and Servers. You will find a close approximation to your needs there. It does not include the Free RADIUS stuff, but at least will get you a working Samba server that is an ADS domain member. Enjoy! - John T. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Adding Printer drivers with rpcclient
Hello. I'm having issues trying to add printer drivers using the rpcclient I've got the drivers for one of the printers in the appropriate share, but every time I've tried, I get NT_STATUS_UNSUCCESSFUL So far I've put the drivers under W32X86, W32X86/2 and W32X86/3, to no avail Every time I run the adddriver command, I receive the NT_STATUS_UNSUCCESSFUL, and in the debug message, a rather curious WERR_ACCESS_DENIED error. rpcclient -U root -c 'adddriver Windows NT x86 dellcolor:dlxcrzim.dll :dlxcrzp.ddd:dlxcrziu.dll:dlxcrz.hlp:NULL:RAW:dlxcrjdm.dll,dlxcrzir.xrs,dllzjnie.dll,dlzddmif.dll,dlzdhb32.dll,dllznie1.dll,dlzpmc2.dll,dlzadcmn.dll,dlzarl32.dll,dlzc5102.dll,dlxcrz.cfg,dlxcrz.cnt,dlxcrz.xrs,dlxcrz.cdd ' lxtrfs03 -d 100 Any help would be greatly appreciated. --Kyle -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Setup samba on RHEL 5
Dear all i have successfully setup samba on RHEL 5, but when the server samba offline why the computer client (Wins XP) cannot login? can someone help me how to fix this problem, i won if samba server offline the client still have login with domain, and work by local harddisk here is my smb.conf [global] workgroup = DLS server string = Samba Server Version %v netbios name = PDCDLS log file = /var/log/samba/%m.log max log size = 2048 security = user passdb backend = tdbsam domain master = yes domain logons = yes logon script = %u.bat logon path = wins support = yes idmap uid = 1-2 idmap gid = 1-2 [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = yes writable = no share modes = no [Profiles] path = /var/lib/samba/profiles browseable = no guest ok = yes writable = yes thank before Cyd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Shares Suddenly Look Empty with 3.0.28a
Jeremy Allison wrote: On Fri, Jun 20, 2008 at 10:47:08AM -0400, Andy Liebman wrote: Does this problem sound familiar to anybody. On a busy Linux server that exports lots of Samba Shares for video editing, upgrading from Samba 3.0.23d to Samba 3.0.28a has caused a huge problem. After several hours of use, ALL exported Samba Shares suddenly appear to have NO FILES to ALL CONNECTED OS X CLIENTS. Also, it is still possible to log into shares (so to some extent, Samba is still working). But when you log in, the shares look empty as well. There are NO ERROR MESSAGES in the standard level 3 samba logs. There are no error messages in the syslog. smbd seems to be running fine. Restarting Samba, and reconnecting to the shares brings the files back. The problem I am describing has been very reproducible. It's just a matter of waiting a few hours and occurs. Reverting back to Samba 3.0.23d makes the problem go away. Any ideas? Can you get traffic captures from when the OSX clients are failing to see the files. Sounds like something George and James would be interested in looking at. Jeremy. Hi Jeremy. What do you mean by traffic captures? Wireshark? Or Level 10 logs? Or both? Although this problem was reproducible, it cropped up in a production environment and so I can't really ask the user to intentionally disrupt work again. Thus, i need to investigate another way to reproduce the issue. It seemed to be related to time. However, it might have been related to amount of data transferred or something else that RISES WITH TIME. I would also, of course, like to know if Windows clients are effected. Andy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-47-g9291214
The branch, v3-2-stable has been updated via 92912142993bb2b6b9203ad70343dd299c20f6bc (commit) via 2c1213b38cdabc58dd9a6a3587bb30cf1fe77e3c (commit) via e9f57680b16e18f56e396746c82a7245cbcf5701 (commit) via 8804baefaa2f422a3e4235579eb580fe7d0ed9cc (commit) via 7705cb9f0910192139baba6de2e12b71267494fc (commit) via 78e7005c87603625e7d02b83af4a790277737806 (commit) from 5b439ea7cf94fdce24eaae62c2a772361ad5b422 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable - Log - commit 92912142993bb2b6b9203ad70343dd299c20f6bc Author: Volker Lendecke [EMAIL PROTECTED] Date: Mon Jun 23 07:14:46 2008 +0200 init_shared_module - init_samba_module (cherry picked from commit 1b12e5f9ed28ac57c06d9597a8f3c57cde01beef) commit 2c1213b38cdabc58dd9a6a3587bb30cf1fe77e3c Author: Volker Lendecke [EMAIL PROTECTED] Date: Sun Jun 22 13:06:35 2008 +0200 Fix a crash in _dfs_Enum (cherry picked from commit 4a996476297963d4cb300b4d45c23e83a493c339) commit e9f57680b16e18f56e396746c82a7245cbcf5701 Author: Volker Lendecke [EMAIL PROTECTED] Date: Sun Jun 22 12:50:30 2008 +0200 Fix an uninitialized variable access in callers of parse_msdfs_symlink At least form_junctions() does not initialize refcount, and I don't see it in get_referred_path(). For the latters, the callers might initialize it. But even if they did, I think parse_msdfs_symlink() should unconditionally return the number of referrals it found. I don't think it makes sense to count them up from somewhere else. (cherry picked from commit d75905ad66e96d4967eb8780d3a980eccb796898) commit 8804baefaa2f422a3e4235579eb580fe7d0ed9cc Author: Volker Lendecke [EMAIL PROTECTED] Date: Sat Jun 21 16:48:07 2008 +0200 Fix a double-closedir() in form_junctions() (cherry picked from commit 394f4509bc5dd31801ef83ee9cc29c1e3a9f1078) commit 7705cb9f0910192139baba6de2e12b71267494fc Author: Volker Lendecke [EMAIL PROTECTED] Date: Sat Jun 21 16:15:02 2008 +0200 Attempt to fix the darwin build (cherry picked from commit 9a4b5591a40e9150fdd3fc706ebb520d65eb1989) commit 78e7005c87603625e7d02b83af4a790277737806 Author: Volker Lendecke [EMAIL PROTECTED] Date: Fri Jun 20 14:30:02 2008 +0200 Use init_shared_module instead of init_module for initializing .so's (cherry picked from commit eabea09243d164c03b9fdfc0d569054c03e67edf) --- Summary of changes: source/exports/modules-darwin.syms |2 +- source/include/msdfs.h |2 +- source/lib/ldb/common/ldb_modules.c |6 -- source/lib/module.c |6 +++--- source/m4/aclocal.m4|2 +- source/smbd/msdfs.c |6 -- 6 files changed, 14 insertions(+), 10 deletions(-) Changeset truncated at 500 lines: diff --git a/source/exports/modules-darwin.syms b/source/exports/modules-darwin.syms index 5999025..be45761 100644 --- a/source/exports/modules-darwin.syms +++ b/source/exports/modules-darwin.syms @@ -1 +1 @@ -_init_module +_init_samba_module diff --git a/source/include/msdfs.h b/source/include/msdfs.h index 49b3ad4..4551325 100644 --- a/source/include/msdfs.h +++ b/source/include/msdfs.h @@ -52,7 +52,7 @@ struct referral { struct junction_map { char *service_name; char *volume_name; - char *comment; + const char *comment; int referral_count; struct referral* referral_list; }; diff --git a/source/lib/ldb/common/ldb_modules.c b/source/lib/ldb/common/ldb_modules.c index d898f3d..fa7f685 100644 --- a/source/lib/ldb/common/ldb_modules.c +++ b/source/lib/ldb/common/ldb_modules.c @@ -231,10 +231,12 @@ int ldb_try_load_dso(struct ldb_context *ldb, const char *name) return -1; } - init_fn = (int (*)(void))dlsym(handle, init_module); + init_fn = (int (*)(void))dlsym(handle, init_samba_module); if (init_fn == NULL) { - ldb_debug(ldb, LDB_DEBUG_ERROR, no symbol `init_module' found in %s: %s\n, path, dlerror()); + ldb_debug(ldb, LDB_DEBUG_ERROR, no symbol + `init_samba_module' found in %s: %s\n, path, + dlerror()); dlclose(handle); return -1; } diff --git a/source/lib/module.c b/source/lib/module.c index 285bd9c..2e56e8e 100644 --- a/source/lib/module.c +++ b/source/lib/module.c @@ -49,14 +49,14 @@ static NTSTATUS do_smb_load_module(const char *module_name, bool is_probe) return NT_STATUS_UNSUCCESSFUL; } - init = (init_module_function *)sys_dlsym(handle, init_module); + init = (init_module_function *)sys_dlsym(handle, init_samba_module); /* we must check sys_dlerror() to determine if it worked, because sys_dlsym() can validly
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2619-gef44968
The branch, v3-2-test has been updated via ef44968276bfde2fdd3370e2558fb469357414be (commit) via c7a9c903acbba9c70211e6f3c25964533bbc1622 (commit) from 1b12e5f9ed28ac57c06d9597a8f3c57cde01beef (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit ef44968276bfde2fdd3370e2558fb469357414be Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:28:09 2008 +0200 man pages: Correct version in man winbindd again. Karolin commit c7a9c903acbba9c70211e6f3c25964533bbc1622 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:15:53 2008 +0200 Samba3 HOWTO: Remove trailing whitespaces. Karolin --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml | 10 +- docs-xml/manpages-3/winbindd.8.xml |2 +- 2 files changed, 6 insertions(+), 6 deletions(-) Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml index 13baa57..cc8b105 100644 --- a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml +++ b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml @@ -78,7 +78,7 @@ rowentrysessionid.tdb/entryentryN/entry entryparaSession information to support literalutmp = yes/literal capabilities./para/entry/row rowentryshare_info.tdb/entryentryY/entry - entryparaStores share-level ACL configuration settings. + entryparaStores share-level ACL configuration settings. Default ACL is emphasisEveryone - Full Control/emphasis. /para/entry/row rowentryunexpected.tdb/entryentryN/entry @@ -127,10 +127,10 @@ para The commandtdbbackup/command utility is a tool that may be used to backup samba tdb files. - This tool may also be used to verify the integrity of the tdb files prior to Samba startup or - during normal operation. If it finds file damage it will search for a prior backup the backup - file from which the damaged tdb file will be restored. The commandtdbbackup/command - utility can safely be run at any time. It was designed so that it can be used at any time to + This tool may also be used to verify the integrity of the tdb files prior to Samba startup or + during normal operation. If it finds file damage it will search for a prior backup the backup + file from which the damaged tdb file will be restored. The commandtdbbackup/command + utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of tdb files, even during Samba operation. /para diff --git a/docs-xml/manpages-3/winbindd.8.xml b/docs-xml/manpages-3/winbindd.8.xml index 76622bd..a449096 100644 --- a/docs-xml/manpages-3/winbindd.8.xml +++ b/docs-xml/manpages-3/winbindd.8.xml @@ -475,7 +475,7 @@ auth required/lib/security/pam_unix.so \ refsect1 titleVERSION/title - paraThis man page is correct for version 3.0 of + paraThis man page is correct for version 3 of the Samba suite./para /refsect1 -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-53-g62e485e
The branch, v3-2-stable has been updated via 62e485eebd8a40b5692caa79bb3ed6108f0b835b (commit) via 9fd1d784cf6044c5c03cf7ab0f2373e08df64295 (commit) via e4d03d3aede0cd611283a041eafdcd1e836aad33 (commit) via a7531f4964ac8f861a41e9fa446e5a3aa69eaaa2 (commit) via 8522db2075f8c9e869c6224f2852ce355bba987d (commit) via 59bb2b0c9a6397bb0202055d7b00dce30d7bf03b (commit) from 92912142993bb2b6b9203ad70343dd299c20f6bc (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable - Log - commit 62e485eebd8a40b5692caa79bb3ed6108f0b835b Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:15:53 2008 +0200 Samba3 HOWTO: Remove trailing whitespaces. Karolin (cherry picked from commit c7a9c903acbba9c70211e6f3c25964533bbc1622) commit 9fd1d784cf6044c5c03cf7ab0f2373e08df64295 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:28:09 2008 +0200 man pages: Correct version in man winbindd again. Karolin (cherry picked from commit ef44968276bfde2fdd3370e2558fb469357414be) commit e4d03d3aede0cd611283a041eafdcd1e836aad33 Author: John H Terpstra [EMAIL PROTECTED] Date: Wed May 28 11:02:26 2008 -0500 Fixed publishing date info. (cherry picked from commit b96c9d54cfd29ec87d59655839a4136977a98032) commit a7531f4964ac8f861a41e9fa446e5a3aa69eaaa2 Author: John H Terpstra [EMAIL PROTECTED] Date: Wed May 28 11:00:49 2008 -0500 Added TDB File documentation requested by some users. (cherry picked from commit 5035311af639336fdc51fa9829e984ff281216f9) commit 8522db2075f8c9e869c6224f2852ce355bba987d Author: John H Terpstra [EMAIL PROTECTED] Date: Mon May 19 13:02:08 2008 -0500 Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so. (cherry picked from commit 3a8ea6be389bedbcdb5668664d862768c026f669) commit 59bb2b0c9a6397bb0202055d7b00dce30d7bf03b Author: John H Terpstra [EMAIL PROTECTED] Date: Mon May 19 13:00:01 2008 -0500 Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so. (cherry picked from commit 2a953d6ba252e5ba4e28b7fae5979e7c47fe9bd0) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml | 152 docs-xml/Samba3-HOWTO/index.xml|2 + docs-xml/manpages-3/winbindd.8.xml | 11 ++- 3 files changed, 162 insertions(+), 3 deletions(-) create mode 100644 docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml new file mode 100644 index 000..cc8b105 --- /dev/null +++ b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml @@ -0,0 +1,152 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE chapter PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +chapter id=msdfs + +chapterinfo + author.jht; + + pubdateMay 28, 2008/pubdate +/chapterinfo + +titleManaging TDB Files/title + +sect1 +titleFeatures and Benefits/title + + para +indextermprimarytdb/primary/indexterm +indextermprimaryTrivial Database/primary/indexterm + Samba uses a lightweight database called Trivial Database (tdb) in which it stores persistent and transient data. + Some tdb files can be disposed of before restarting Samba, but others are used to store information that is vital + to Samba configuration and behavior. The following information is provided to help administrators who are seeking + to better manage their Samba installations. + /para + + para +indextermprimarytdb/primary/indexterm +indextermprimarycurrupted/primary/indexterm +indextermprimarybackup/primary/indexterm +indextermprimaryrestore/primary/indexterm + Those who package Samba for commercial distribution with operating systems and appliances would do well to take + note that tdb files can get corrupted, and for this reason ought to be backed up regularly. An appropriate time + is at system shutdown (backup) and startup (restore from backup). + /para + +table frame=all id=TOSH-TDB +titleSamba's Trivial Database Files/title +tgroup align=center cols=2 +thead +rowentryFile name/entryentryPreserve/entryentryDescription/entry/row +/thead + +tbody +rowentryaccount_policy.tdb/entryentryY/entry + entryparaNT account policy settings such as pw expiration, etc.../para/entry/row +rowentrybrlock.tdb/entryentryN/entry + entryparaByte range locks./para/entry/row +
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2949-gf4933b1
The branch, v3-3-test has been updated via f4933b1fac811f9a2f2a35f195d83b8ec6199590 (commit) via 7e09a1f1c22b4323be910504f77626dda47b5225 (commit) via 1df1e9fd8cee84391e62e4acd259cb5be9b3d834 (commit) via e5c2665ef8cb44f1ef1ec16d21358e5f37b81d6b (commit) via 09fa3c61d96e218885c9d661ab4855b9c872233f (commit) via 5144c1b2d6891ecf5d21a0b3982276bdbcf27960 (commit) from 9b174871a87677f7dfbd897a80e526f203906bea (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit f4933b1fac811f9a2f2a35f195d83b8ec6199590 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:15:53 2008 +0200 Samba3 HOWTO: Remove trailing whitespaces. Karolin (cherry picked from commit c7a9c903acbba9c70211e6f3c25964533bbc1622) (cherry picked from commit 62e485eebd8a40b5692caa79bb3ed6108f0b835b) commit 7e09a1f1c22b4323be910504f77626dda47b5225 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:28:09 2008 +0200 man pages: Correct version in man winbindd again. Karolin (cherry picked from commit ef44968276bfde2fdd3370e2558fb469357414be) (cherry picked from commit 9fd1d784cf6044c5c03cf7ab0f2373e08df64295) commit 1df1e9fd8cee84391e62e4acd259cb5be9b3d834 Author: John H Terpstra [EMAIL PROTECTED] Date: Wed May 28 11:02:26 2008 -0500 Fixed publishing date info. (cherry picked from commit b96c9d54cfd29ec87d59655839a4136977a98032) (cherry picked from commit e4d03d3aede0cd611283a041eafdcd1e836aad33) commit e5c2665ef8cb44f1ef1ec16d21358e5f37b81d6b Author: John H Terpstra [EMAIL PROTECTED] Date: Wed May 28 11:00:49 2008 -0500 Added TDB File documentation requested by some users. (cherry picked from commit 5035311af639336fdc51fa9829e984ff281216f9) (cherry picked from commit a7531f4964ac8f861a41e9fa446e5a3aa69eaaa2) commit 09fa3c61d96e218885c9d661ab4855b9c872233f Author: John H Terpstra [EMAIL PROTECTED] Date: Mon May 19 13:02:08 2008 -0500 Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so. (cherry picked from commit 3a8ea6be389bedbcdb5668664d862768c026f669) (cherry picked from commit 8522db2075f8c9e869c6224f2852ce355bba987d) commit 5144c1b2d6891ecf5d21a0b3982276bdbcf27960 Author: John H Terpstra [EMAIL PROTECTED] Date: Mon May 19 13:00:01 2008 -0500 Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so. (cherry picked from commit 2a953d6ba252e5ba4e28b7fae5979e7c47fe9bd0) (cherry picked from commit 59bb2b0c9a6397bb0202055d7b00dce30d7bf03b) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml | 152 docs-xml/Samba3-HOWTO/index.xml|2 + docs-xml/manpages-3/winbindd.8.xml | 11 ++- 3 files changed, 162 insertions(+), 3 deletions(-) create mode 100644 docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml new file mode 100644 index 000..cc8b105 --- /dev/null +++ b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml @@ -0,0 +1,152 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE chapter PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +chapter id=msdfs + +chapterinfo + author.jht; + + pubdateMay 28, 2008/pubdate +/chapterinfo + +titleManaging TDB Files/title + +sect1 +titleFeatures and Benefits/title + + para +indextermprimarytdb/primary/indexterm +indextermprimaryTrivial Database/primary/indexterm + Samba uses a lightweight database called Trivial Database (tdb) in which it stores persistent and transient data. + Some tdb files can be disposed of before restarting Samba, but others are used to store information that is vital + to Samba configuration and behavior. The following information is provided to help administrators who are seeking + to better manage their Samba installations. + /para + + para +indextermprimarytdb/primary/indexterm +indextermprimarycurrupted/primary/indexterm +indextermprimarybackup/primary/indexterm +indextermprimaryrestore/primary/indexterm + Those who package Samba for commercial distribution with operating systems and appliances would do well to take + note that tdb files can get corrupted, and for this reason ought to be backed up regularly. An appropriate time + is at system shutdown (backup) and startup (restore from backup). + /para + +table frame=all id=TOSH-TDB +titleSamba's Trivial Database Files/title +tgroup align=center cols=2 +thead +rowentryFile
[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-29-62-g907e394
The branch, v3-0-test has been updated via 907e394e636896a7c6939f667e122cae574cf7d4 (commit) via f85ebaa5e80ec39e0ced7694881d18e19e1fa543 (commit) via d72d6c6f3cd4c9a0ca55fe14603def2634cb1274 (commit) via 2c5ba596aa53fe8a2bd5449d84ce633004908eaf (commit) via 3c604b5b538fa4cf7b4c5ae28a27f3140c1779d8 (commit) from d183dc676db0d91ae6b0759c8fd094c4a888d29d (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log - commit 907e394e636896a7c6939f667e122cae574cf7d4 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:15:53 2008 +0200 Samba3 HOWTO: Remove trailing whitespaces. Karolin (cherry picked from commit c7a9c903acbba9c70211e6f3c25964533bbc1622) (cherry picked from commit 62e485eebd8a40b5692caa79bb3ed6108f0b835b) commit f85ebaa5e80ec39e0ced7694881d18e19e1fa543 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 10:28:09 2008 +0200 man pages: Correct version in man winbindd again. Karolin (cherry picked from commit ef44968276bfde2fdd3370e2558fb469357414be) (cherry picked from commit 9fd1d784cf6044c5c03cf7ab0f2373e08df64295) commit d72d6c6f3cd4c9a0ca55fe14603def2634cb1274 Author: John H Terpstra [EMAIL PROTECTED] Date: Wed May 28 11:02:26 2008 -0500 Fixed publishing date info. (cherry picked from commit b96c9d54cfd29ec87d59655839a4136977a98032) (cherry picked from commit e4d03d3aede0cd611283a041eafdcd1e836aad33) commit 2c5ba596aa53fe8a2bd5449d84ce633004908eaf Author: John H Terpstra [EMAIL PROTECTED] Date: Wed May 28 11:00:49 2008 -0500 Added TDB File documentation requested by some users. (cherry picked from commit 5035311af639336fdc51fa9829e984ff281216f9) (cherry picked from commit a7531f4964ac8f861a41e9fa446e5a3aa69eaaa2) commit 3c604b5b538fa4cf7b4c5ae28a27f3140c1779d8 Author: John H Terpstra [EMAIL PROTECTED] Date: Mon May 19 13:02:08 2008 -0500 Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so. (cherry picked from commit 3a8ea6be389bedbcdb5668664d862768c026f669) (cherry picked from commit 8522db2075f8c9e869c6224f2852ce355bba987d) --- Summary of changes: docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml | 152 docs-xml/Samba3-HOWTO/index.xml|2 + docs-xml/manpages-3/winbindd.8.xml |4 +- 3 files changed, 156 insertions(+), 2 deletions(-) create mode 100644 docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml Changeset truncated at 500 lines: diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml new file mode 100644 index 000..cc8b105 --- /dev/null +++ b/docs-xml/Samba3-HOWTO/TOSHARG-TDBFiles.xml @@ -0,0 +1,152 @@ +?xml version=1.0 encoding=iso-8859-1? +!DOCTYPE chapter PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN http://www.samba.org/samba/DTD/samba-doc; +chapter id=msdfs + +chapterinfo + author.jht; + + pubdateMay 28, 2008/pubdate +/chapterinfo + +titleManaging TDB Files/title + +sect1 +titleFeatures and Benefits/title + + para +indextermprimarytdb/primary/indexterm +indextermprimaryTrivial Database/primary/indexterm + Samba uses a lightweight database called Trivial Database (tdb) in which it stores persistent and transient data. + Some tdb files can be disposed of before restarting Samba, but others are used to store information that is vital + to Samba configuration and behavior. The following information is provided to help administrators who are seeking + to better manage their Samba installations. + /para + + para +indextermprimarytdb/primary/indexterm +indextermprimarycurrupted/primary/indexterm +indextermprimarybackup/primary/indexterm +indextermprimaryrestore/primary/indexterm + Those who package Samba for commercial distribution with operating systems and appliances would do well to take + note that tdb files can get corrupted, and for this reason ought to be backed up regularly. An appropriate time + is at system shutdown (backup) and startup (restore from backup). + /para + +table frame=all id=TOSH-TDB +titleSamba's Trivial Database Files/title +tgroup align=center cols=2 +thead +rowentryFile name/entryentryPreserve/entryentryDescription/entry/row +/thead + +tbody +rowentryaccount_policy.tdb/entryentryY/entry + entryparaNT account policy settings such as pw expiration, etc.../para/entry/row +rowentrybrlock.tdb/entryentryN/entry + entryparaByte range locks./para/entry/row +
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2951-gb20019c
The branch, v3-3-test has been updated via b20019ceaaf4a8964792f6ba37f50f91b6847e7f (commit) via 59beb7acd777a4c224dce90fbbff7a137d2b89c1 (commit) from f4933b1fac811f9a2f2a35f195d83b8ec6199590 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f Author: Michael Adam [EMAIL PROTECTED] Date: Mon Jun 23 11:11:08 2008 +0200 libsmbconf: add includes to the forbidden_valnames[]. This removes the warning messages 'Unknown parameter encountered: includes'. Michael commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1 Author: Michael Adam [EMAIL PROTECTED] Date: Mon Jun 23 11:09:38 2008 +0200 libsmbconf: fastpaths first in smbconf_reg_valname_valid(). Before dropping into lp_parameter_is_valid(). Michael --- Summary of changes: source/lib/smbconf/smbconf_reg.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/lib/smbconf/smbconf_reg.c b/source/lib/smbconf/smbconf_reg.c index dfce750..033f800 100644 --- a/source/lib/smbconf/smbconf_reg.c +++ b/source/lib/smbconf/smbconf_reg.c @@ -52,6 +52,7 @@ static bool smbconf_reg_valname_forbidden(const char *valname) lock dir, config backend, include, + includes, /* this has a special meaning internally */ NULL }; const char **forbidden = NULL; @@ -66,8 +67,8 @@ static bool smbconf_reg_valname_forbidden(const char *valname) static bool smbconf_reg_valname_valid(const char *valname) { - return (lp_parameter_is_valid(valname) - !smbconf_reg_valname_forbidden(valname)); + return (!smbconf_reg_valname_forbidden(valname) + lp_parameter_is_valid(valname)); } /** -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2620-g769d943
The branch, v3-2-test has been updated via 769d9434349d4c683e92cea34cb5bd177273fe40 (commit) from ef44968276bfde2fdd3370e2558fb469357414be (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 769d9434349d4c683e92cea34cb5bd177273fe40 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 12:10:18 2008 +0200 WHATSNEW: Update changes since 3.2.0rc2. Karolin --- Summary of changes: WHATSNEW.txt | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 2ca2bea..496289d 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -213,6 +213,16 @@ Changes since 3.2.0rc2: --- +o Jeremy Allison [EMAIL PROTECTED] +* BUG 5531: Fix conversion of ns units when converting + from nttime to timespec. +* BUG 5533: Fix handling of workgroup names containing a '.' in Winbindd. + + +o Michael Adam [EMAIL PROTECTED] +* BUG 5548: Fix segfaults in handle_include with %m macro expansion. + + o Volker Lendecke [EMAIL PROTECTED] * BUG 5500: Add missing become_root to enable access to LDAP DB. * Fix coverity IDs 464, 474. @@ -220,6 +230,12 @@ o Volker Lendecke [EMAIL PROTECTED] * Fix group parsing in libwbclient's copy_group_entry(). * Fix max_fd calculation in event_loop_once. * Fix warnings on Fedory Core 9. +* Fix several memleaks. +* Fix a segfaults in wbcLookupRids. +* Fix a brown segfault in clitar +* Fix the build on FreeBSD 4.6.2 and Darwin. +* Fix a double-closedir() in form_junctions(). +* Fix a crash in _dfs_Enum. o Günther Deschner [EMAIL PROTECTED] @@ -231,6 +247,11 @@ o William Jojo [EMAIL PROTECTED] * Add -brtl to the AIX linker flags. +o John H Terpstra [EMAIL PROTECTED] +* Fix net help info. +* Add documentation for TDB file. + + o Bo Yang [EMAIL PROTECTED] * Fix update of cached credentials during password change in pam_winbind. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-54-g698912b
The branch, v3-2-stable has been updated via 698912b4c55f76964bbcfed70d427d7363c2ef02 (commit) from 62e485eebd8a40b5692caa79bb3ed6108f0b835b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable - Log - commit 698912b4c55f76964bbcfed70d427d7363c2ef02 Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 12:10:18 2008 +0200 WHATSNEW: Update changes since 3.2.0rc2. Karolin (cherry picked from commit 769d9434349d4c683e92cea34cb5bd177273fe40) --- Summary of changes: WHATSNEW.txt | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 2ca2bea..496289d 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -213,6 +213,16 @@ Changes since 3.2.0rc2: --- +o Jeremy Allison [EMAIL PROTECTED] +* BUG 5531: Fix conversion of ns units when converting + from nttime to timespec. +* BUG 5533: Fix handling of workgroup names containing a '.' in Winbindd. + + +o Michael Adam [EMAIL PROTECTED] +* BUG 5548: Fix segfaults in handle_include with %m macro expansion. + + o Volker Lendecke [EMAIL PROTECTED] * BUG 5500: Add missing become_root to enable access to LDAP DB. * Fix coverity IDs 464, 474. @@ -220,6 +230,12 @@ o Volker Lendecke [EMAIL PROTECTED] * Fix group parsing in libwbclient's copy_group_entry(). * Fix max_fd calculation in event_loop_once. * Fix warnings on Fedory Core 9. +* Fix several memleaks. +* Fix a segfaults in wbcLookupRids. +* Fix a brown segfault in clitar +* Fix the build on FreeBSD 4.6.2 and Darwin. +* Fix a double-closedir() in form_junctions(). +* Fix a crash in _dfs_Enum. o Günther Deschner [EMAIL PROTECTED] @@ -231,6 +247,11 @@ o William Jojo [EMAIL PROTECTED] * Add -brtl to the AIX linker flags. +o John H Terpstra [EMAIL PROTECTED] +* Fix net help info. +* Add documentation for TDB file. + + o Bo Yang [EMAIL PROTECTED] * Fix update of cached credentials during password change in pam_winbind. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2621-gc434b3e
The branch, v3-2-test has been updated via c434b3e2131b0d5e68d00f887412372e9192a39f (commit) from 769d9434349d4c683e92cea34cb5bd177273fe40 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit c434b3e2131b0d5e68d00f887412372e9192a39f Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 13:11:11 2008 +0200 WHATSNEW: Fix typo. Karolin --- Summary of changes: WHATSNEW.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 496289d..e94f5ba 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -232,7 +232,7 @@ o Volker Lendecke [EMAIL PROTECTED] * Fix warnings on Fedory Core 9. * Fix several memleaks. * Fix a segfaults in wbcLookupRids. -* Fix a brown segfault in clitar +* Fix a segfault in clitar * Fix the build on FreeBSD 4.6.2 and Darwin. * Fix a double-closedir() in form_junctions(). * Fix a crash in _dfs_Enum. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-55-g17345a0
The branch, v3-2-stable has been updated via 17345a0fb56723104ec0e28a991a8fd424bdc48b (commit) from 698912b4c55f76964bbcfed70d427d7363c2ef02 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable - Log - commit 17345a0fb56723104ec0e28a991a8fd424bdc48b Author: Karolin Seeger [EMAIL PROTECTED] Date: Mon Jun 23 13:11:11 2008 +0200 WHATSNEW: Fix typo. Karolin (cherry picked from commit c434b3e2131b0d5e68d00f887412372e9192a39f) --- Summary of changes: WHATSNEW.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 496289d..e94f5ba 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -232,7 +232,7 @@ o Volker Lendecke [EMAIL PROTECTED] * Fix warnings on Fedory Core 9. * Fix several memleaks. * Fix a segfaults in wbcLookupRids. -* Fix a brown segfault in clitar +* Fix a segfault in clitar * Fix the build on FreeBSD 4.6.2 and Darwin. * Fix a double-closedir() in form_junctions(). * Fix a crash in _dfs_Enum. -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2639-g784e9e6
The branch, v3-2-test has been updated via 784e9e6b9ce4cc043bdeba8ca396f59de51cd294 (commit) via eff6a48cee0fa6a320728f3bb44c3894dd3f6044 (commit) via febf046fc47dd3de3bbb6c0da5b218d73ef0487c (commit) via b517b0c0f20127876c63cc726afe7f902421af15 (commit) via 1df339954b1dcc120195b26a6b3a08268dd0041c (commit) via cebe6225d5bc584b24c2bebf30db353653df34b0 (commit) via 4de981e5174dffd9a21431017cfa75fc73910b48 (commit) via 3fdce53f72242381eeda15ad6c3817a4cc88b323 (commit) via 370295aef1f8ee7cf8b5126de4629b69d1559578 (commit) via c9f82b175c2f38eeec77cab2906ef480ae558861 (commit) via 5d564b25e946e3a57fa251271711937e938cd22d (commit) via 3b09034bd9ad7a95d0d74302c953a5983ff4a417 (commit) via 6cdeb832bd11c0a12ce577ce10e30cc098bca729 (commit) via 1580941cb7718eec3931893ec8ac7a2c0c62c363 (commit) via b211b576cc1287aeb2b541ae6575a3230350d044 (commit) via 09fe8019a7b688312892be96eacec55fd1f059e7 (commit) via 1b24a06502a910909cf889916423c94aca92b1cf (commit) via 11252c8faff0373bf16b7bc42d65dbc5cf5ec57d (commit) from c434b3e2131b0d5e68d00f887412372e9192a39f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 784e9e6b9ce4cc043bdeba8ca396f59de51cd294 Author: Michael Adam [EMAIL PROTECTED] Date: Thu Jun 19 17:19:21 2008 +0200 testsuite: enable the testparm_s3 tests. Michael (cherry picked from commit 0f5c13e5735990f4325f98156a7dc410276372fe) commit eff6a48cee0fa6a320728f3bb44c3894dd3f6044 Author: Michael Adam [EMAIL PROTECTED] Date: Thu Jun 19 17:14:39 2008 +0200 testsuite: add a testparm_s3 test script. This is a first testparm/lp_load test that runs testparm on a couple of configuration files. The main purpose for now is to test the options that have special handlers (to check whether the handlers succeed). In particular, all the Macro expansions that are available via alloc_sub_basic() are tested with the include handler. This is to catch such crashbugs as #5548 where %m expansion led to a segfault. The tests now are very simple. Just check if testparm completes successfully on the given config files. This can (and should) be elaborated in the future. Michael (cherry picked from commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a) commit febf046fc47dd3de3bbb6c0da5b218d73ef0487c Author: Michael Adam [EMAIL PROTECTED] Date: Thu Jun 19 13:52:49 2008 +0200 testsuite: update introductory comment to test_net_regsistry.sh This is now used to test rpc and local access depending on command line parameters. Michael (cherry picked from commit 73c17b630317b5019e5d5f2b989b8de081a73e07) commit b517b0c0f20127876c63cc726afe7f902421af15 Author: Volker Lendecke [EMAIL PROTECTED] Date: Thu Jun 19 11:59:55 2008 +0200 Fix typo (cherry picked from commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8) commit 1df339954b1dcc120195b26a6b3a08268dd0041c Author: Michael Adam [EMAIL PROTECTED] Date: Tue Jun 17 23:54:15 2008 +0200 testsuite: give admin rights to testuser only for the net rpc registry test. Remove the user from BUILTIN\Administrators at the end of the tests. Note: BUILTIN\Administrators is not deletet at the end because that functionality is not implemented. Michael (cherry picked from commit 1734f9305a38eff05f0147d9c7391ef34085e7b2) commit cebe6225d5bc584b24c2bebf30db353653df34b0 Author: Michael Adam [EMAIL PROTECTED] Date: Tue Jun 17 23:51:23 2008 +0200 testsuite: don't give the testuser administrative rights globally. It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite understood yet. Somhow loosing rights fails when the user belogns to BUILTIN\Administrators at some point. Michael (cherry picked from commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521) commit 4de981e5174dffd9a21431017cfa75fc73910b48 Author: Karolin Seeger [EMAIL PROTECTED] Date: Tue May 13 14:01:52 2008 +0200 tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available. Improve error message if no SMB4TORTURE is available. Karolin (cherry picked from commit 443691eb2614919043406f94e9c71b49230612d5) commit 3fdce53f72242381eeda15ad6c3817a4cc88b323 Author: Michael Adam [EMAIL PROTECTED] Date: Tue May 6 23:43:37 2008 +0200 testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS. This allows for calling e.g. TESTS=posix_s3 POSIX_SUBTESTS=RPC-SAMBA3-GETUSERNAME make test Michael (cherry picked from commit 7418d89b2941fff307e0980d1f71f106aed8cbce) commit 370295aef1f8ee7cf8b5126de4629b69d1559578 Author: Michael Adam [EMAIL PROTECTED] Date: Tue May 6 12:09:59 2008 +0200 testsuite: make structuring output of net_s3 tests
[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-73-g4403110
The branch, v3-2-stable has been updated via 44031107568fae0afe501bf218b48aa74598f132 (commit) via ffb695ddbbfa558f45b34382eb7e2b810c0cad3f (commit) via 60e974da0ea186745dc5e23a1bcab4f8fede0f8c (commit) via c173375d9122c98f1f4f81a910fa8b805fba65a5 (commit) via cd56e0ea2023e5025e09acfd9d2720caf87452df (commit) via 766c12bc485d04c143079afca93b8ebba3f77f67 (commit) via e8611cb56675259749dcaa51645f9956d1612caa (commit) via e59cffb75e29270ba0f566d743e18090132c85ea (commit) via b993a35f1bdd3ac79a08c197276474d7bd885cf5 (commit) via f4efe290b509222c3607745edc62fe8627ffad09 (commit) via fdd6c691c7eec6354326b9cacb1f525d1f9c8716 (commit) via a680400b24e9a9f9a195cfabb8b7a31b2dabbbc9 (commit) via 6bfc7ab20fbb569d12660bb67da96d87ace3d236 (commit) via 6b9a33a0413a9643716dbee5eceb9166a81abc0d (commit) via 1244128a6a536e01fb27ba382ab48c653aac0209 (commit) via 78c2912d5f57c120898769fec2cd5cc72ba666a7 (commit) via 7289712cf741b5e45f59f180f9ac6584cccb7ced (commit) via 68472fa4e29e2ac059197b0b212f890f4cc8f522 (commit) from 17345a0fb56723104ec0e28a991a8fd424bdc48b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable - Log - commit 44031107568fae0afe501bf218b48aa74598f132 Author: Michael Adam [EMAIL PROTECTED] Date: Thu Jun 19 17:19:21 2008 +0200 testsuite: enable the testparm_s3 tests. Michael (cherry picked from commit 0f5c13e5735990f4325f98156a7dc410276372fe) (cherry picked from commit 784e9e6b9ce4cc043bdeba8ca396f59de51cd294) commit ffb695ddbbfa558f45b34382eb7e2b810c0cad3f Author: Michael Adam [EMAIL PROTECTED] Date: Thu Jun 19 17:14:39 2008 +0200 testsuite: add a testparm_s3 test script. This is a first testparm/lp_load test that runs testparm on a couple of configuration files. The main purpose for now is to test the options that have special handlers (to check whether the handlers succeed). In particular, all the Macro expansions that are available via alloc_sub_basic() are tested with the include handler. This is to catch such crashbugs as #5548 where %m expansion led to a segfault. The tests now are very simple. Just check if testparm completes successfully on the given config files. This can (and should) be elaborated in the future. Michael (cherry picked from commit eb28146d40b8a8bc2c20b8d222abf191ea178d5a) (cherry picked from commit eff6a48cee0fa6a320728f3bb44c3894dd3f6044) commit 60e974da0ea186745dc5e23a1bcab4f8fede0f8c Author: Michael Adam [EMAIL PROTECTED] Date: Thu Jun 19 13:52:49 2008 +0200 testsuite: update introductory comment to test_net_regsistry.sh This is now used to test rpc and local access depending on command line parameters. Michael (cherry picked from commit 73c17b630317b5019e5d5f2b989b8de081a73e07) (cherry picked from commit febf046fc47dd3de3bbb6c0da5b218d73ef0487c) commit c173375d9122c98f1f4f81a910fa8b805fba65a5 Author: Volker Lendecke [EMAIL PROTECTED] Date: Thu Jun 19 11:59:55 2008 +0200 Fix typo (cherry picked from commit 2eef2c682c18ad37b78214c755b9dd7c8b607cb8) (cherry picked from commit b517b0c0f20127876c63cc726afe7f902421af15) commit cd56e0ea2023e5025e09acfd9d2720caf87452df Author: Michael Adam [EMAIL PROTECTED] Date: Tue Jun 17 23:54:15 2008 +0200 testsuite: give admin rights to testuser only for the net rpc registry test. Remove the user from BUILTIN\Administrators at the end of the tests. Note: BUILTIN\Administrators is not deletet at the end because that functionality is not implemented. Michael (cherry picked from commit 1734f9305a38eff05f0147d9c7391ef34085e7b2) (cherry picked from commit 1df339954b1dcc120195b26a6b3a08268dd0041c) commit 766c12bc485d04c143079afca93b8ebba3f77f67 Author: Michael Adam [EMAIL PROTECTED] Date: Tue Jun 17 23:51:23 2008 +0200 testsuite: don't give the testuser administrative rights globally. It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite understood yet. Somhow loosing rights fails when the user belogns to BUILTIN\Administrators at some point. Michael (cherry picked from commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521) (cherry picked from commit cebe6225d5bc584b24c2bebf30db353653df34b0) commit e8611cb56675259749dcaa51645f9956d1612caa Author: Karolin Seeger [EMAIL PROTECTED] Date: Tue May 13 14:01:52 2008 +0200 tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available. Improve error message if no SMB4TORTURE is available. Karolin (cherry picked from commit 443691eb2614919043406f94e9c71b49230612d5) (cherry picked from commit 4de981e5174dffd9a21431017cfa75fc73910b48) commit e59cffb75e29270ba0f566d743e18090132c85ea Author: Michael Adam
Re: [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2942-gf58b098
On Sun, Jun 22, 2008 at 02:42:41PM -0500, Volker Lendecke wrote: The branch, v3-3-test has been updated via f58b098a4172949018e84c4d0c722d6eb9bba514 (commit) via 948607f16112f6529f3a54cd6bbe978e8a600bc8 (commit) via d031e6d8cabe2dd0b29e90d173d45843e145176a (commit) from 587bd636cb70d09600111ced040adaa55af35d0f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit f58b098a4172949018e84c4d0c722d6eb9bba514 Author: Volker Lendecke [EMAIL PROTECTED] Date: Sun Jun 22 20:33:28 2008 +0200 Remove the exists parameter from create_msdfs_link Jeremy, setting exists to True in _dfs_Add prevented the initial creation of a new symlink for me, because the SMB_VFS_UNLINK failed. This also exists in 3.2. I only check it into 3.3 as I would like you to look at it first. Hmmm. How does this *ever* work ? :-). Even in 3.3. the code in _dfs_Add does : status = get_referred_path(ctx, r-in.path, jn, consumedcnt, self_ref); if(!NT_STATUS_IS_OK(status)) { return ntstatus_to_werror(status); } Doesn't look condusive to a create to me :-). Can we chat about this ? Jeremy.
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2641-g12d816d
The branch, v3-2-test has been updated via 12d816dc997b1bfc048c5c042945a5e935abf4b4 (commit) via 0dafec20396a0722d691ab3723eadc6124759e12 (commit) from 784e9e6b9ce4cc043bdeba8ca396f59de51cd294 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 12d816dc997b1bfc048c5c042945a5e935abf4b4 Author: Volker Lendecke [EMAIL PROTECTED] Date: Sun Jun 22 20:27:20 2008 +0200 Check for sec_initial_uid() instead of uid==0 in dfs management commit 0dafec20396a0722d691ab3723eadc6124759e12 Author: Volker Lendecke [EMAIL PROTECTED] Date: Sun Jun 22 11:28:57 2008 +0200 Reduce memory usage in form_junctions() a little bit --- Summary of changes: source/rpc_server/srv_dfs_nt.c |4 ++-- source/smbd/msdfs.c|1 + 2 files changed, 3 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/source/rpc_server/srv_dfs_nt.c b/source/rpc_server/srv_dfs_nt.c index 29538a3..974523d 100644 --- a/source/rpc_server/srv_dfs_nt.c +++ b/source/rpc_server/srv_dfs_nt.c @@ -49,7 +49,7 @@ WERROR _dfs_Add(pipes_struct *p, struct dfs_Add *r) NTSTATUS status; TALLOC_CTX *ctx = talloc_tos(); - if (p-pipe_user.ut.uid != 0) { + if (p-pipe_user.ut.uid != sec_initial_uid()) { DEBUG(10,(_dfs_add: uid != 0. Access denied.\n)); return WERR_ACCESS_DENIED; } @@ -119,7 +119,7 @@ WERROR _dfs_Remove(pipes_struct *p, struct dfs_Remove *r) TALLOC_CTX *ctx = talloc_tos(); char *altpath = NULL; - if (p-pipe_user.ut.uid != 0) { + if (p-pipe_user.ut.uid != sec_initial_uid()) { DEBUG(10,(_dfs_remove: uid != 0. Access denied.\n)); return WERR_ACCESS_DENIED; } diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c index baf41bd..8c1c9d0 100644 --- a/source/smbd/msdfs.c +++ b/source/smbd/msdfs.c @@ -1565,6 +1565,7 @@ static int form_junctions(TALLOC_CTX *ctx, jucn[cnt].comment = ; cnt++; } + TALLOC_FREE(link_target); } } -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2642-g47e6681
The branch, v3-2-test has been updated via 47e66814c176d597d9a3c165a7cfa6a5a2fd70be (commit) from 12d816dc997b1bfc048c5c042945a5e935abf4b4 (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log - commit 47e66814c176d597d9a3c165a7cfa6a5a2fd70be Author: Jeremy Allison [EMAIL PROTECTED] Date: Mon Jun 23 11:24:52 2008 -0700 Sorry volker, lost your original git-id due to proto.h conflicts. Remove the exists parameter from create_msdfs_link Jeremy, setting exists to True in _dfs_Add prevented the initial creation of a new symlink for me, because the SMB_VFS_UNLINK failed. This also exists in 3.2. I only check it into 3.3 as I would like you to look at it first. Thanks, Volker --- Summary of changes: source/rpc_server/srv_dfs_nt.c |6 ++ source/smbd/msdfs.c| 22 +++--- 2 files changed, 13 insertions(+), 15 deletions(-) Changeset truncated at 500 lines: diff --git a/source/rpc_server/srv_dfs_nt.c b/source/rpc_server/srv_dfs_nt.c index 974523d..72b8236 100644 --- a/source/rpc_server/srv_dfs_nt.c +++ b/source/rpc_server/srv_dfs_nt.c @@ -44,7 +44,6 @@ WERROR _dfs_Add(pipes_struct *p, struct dfs_Add *r) struct referral *old_referral_list = NULL; bool self_ref = False; int consumedcnt = 0; - bool exists = False; char *altpath = NULL; NTSTATUS status; TALLOC_CTX *ctx = talloc_tos(); @@ -76,7 +75,6 @@ WERROR _dfs_Add(pipes_struct *p, struct dfs_Add *r) return ntstatus_to_werror(status); } - exists = True; jn-referral_count += 1; old_referral_list = jn-referral_list; @@ -101,7 +99,7 @@ WERROR _dfs_Add(pipes_struct *p, struct dfs_Add *r) jn-referral_list[jn-referral_count-1].ttl = REFERRAL_TTL; jn-referral_list[jn-referral_count-1].alternate_path = altpath; - if(!create_msdfs_link(jn, exists)) { + if(!create_msdfs_link(jn)) { vfs_ChDir(p-conn,p-conn-connectpath); return WERR_DFS_CANT_CREATE_JUNCT; } @@ -184,7 +182,7 @@ WERROR _dfs_Remove(pipes_struct *p, struct dfs_Remove *r) return WERR_DFS_NO_SUCH_VOL; } } else { - if(!create_msdfs_link(jn, True)) { + if(!create_msdfs_link(jn)) { vfs_ChDir(p-conn,p-conn-connectpath); return WERR_DFS_CANT_CREATE_JUNCT; } diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c index 8c1c9d0..aef4ff6 100644 --- a/source/smbd/msdfs.c +++ b/source/smbd/msdfs.c @@ -1306,8 +1306,7 @@ static bool junction_to_local_path(const struct junction_map *jucn, return True; } -bool create_msdfs_link(const struct junction_map *jucn, - bool exists) +bool create_msdfs_link(const struct junction_map *jucn) { char *path = NULL; char *msdfs_link = NULL; @@ -1360,19 +1359,20 @@ bool create_msdfs_link(const struct junction_map *jucn, DEBUG(5,(create_msdfs_link: Creating new msdfs link: %s - %s\n, path, msdfs_link)); - if(exists) { - if(SMB_VFS_UNLINK(conn,path)!=0) { + if(SMB_VFS_SYMLINK(conn, msdfs_link, path) 0) { + if (errno == EEXIST) { + if(SMB_VFS_UNLINK(conn,path)!=0) { + goto out; + } + } + if (SMB_VFS_SYMLINK(conn, msdfs_link, path) 0) { + DEBUG(1,(create_msdfs_link: symlink failed +%s - %s\nError: %s\n, +path, msdfs_link, strerror(errno))); goto out; } } - if(SMB_VFS_SYMLINK(conn, msdfs_link, path) 0) { - DEBUG(1,(create_msdfs_link: symlink failed - %s - %s\nError: %s\n, - path, msdfs_link, strerror(errno))); - goto out; - } - ret = True; out: -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2953-gfa803ce
The branch, v3-3-test has been updated via fa803ce183376c938f92b0f31a7d89d522fd309f (commit) via 84b1ea39a4f27ebcf06a2bafed78396c7353df0e (commit) from b20019ceaaf4a8964792f6ba37f50f91b6847e7f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit fa803ce183376c938f92b0f31a7d89d522fd309f Author: Andreas Schneider [EMAIL PROTECTED] Date: Mon Jun 23 16:29:40 2008 +0200 Add documentation for kerberos support in libsmbclient. Signed-off-by: Andreas Schneider [EMAIL PROTECTED] Signed-off-by: Derrell Lipman [EMAIL PROTECTED] commit 84b1ea39a4f27ebcf06a2bafed78396c7353df0e Author: Andreas Schneider [EMAIL PROTECTED] Date: Mon Jun 23 11:00:20 2008 +0200 Add krb5 support for the testbrowse example. Signed-off-by: Andreas Schneider [EMAIL PROTECTED] Signed-off-by: Derrell Lipman [EMAIL PROTECTED] --- Summary of changes: examples/libsmbclient/get_auth_data_fn.h | 13 - examples/libsmbclient/testbrowse.c |3 +++ source/include/libsmbclient.h| 10 ++ 3 files changed, 25 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/examples/libsmbclient/get_auth_data_fn.h b/examples/libsmbclient/get_auth_data_fn.h index b1d36c8..6b91c97 100644 --- a/examples/libsmbclient/get_auth_data_fn.h +++ b/examples/libsmbclient/get_auth_data_fn.h @@ -1,3 +1,5 @@ +#include stdlib.h + static void get_auth_data_fn(const char * pServer, const char * pShare, @@ -15,6 +17,8 @@ get_auth_data_fn(const char * pServer, charusername[256] = { '\0' }; charpassword[256] = { '\0' }; +static int krb5_set = 1; + if (strcmp(server, pServer) == 0 strcmp(share, pShare) == 0 *workgroup != '\0' @@ -25,7 +29,12 @@ get_auth_data_fn(const char * pServer, strncpy(pPassword, password, maxLenPassword - 1); return; } - + +if (krb5_set getenv(KRB5CCNAME)) { + krb5_set = 0; + return; +} + fprintf(stdout, Workgroup: [%s] , pWorkgroup); fgets(temp, sizeof(temp), stdin); @@ -68,4 +77,6 @@ get_auth_data_fn(const char * pServer, strncpy(workgroup, pWorkgroup, sizeof(workgroup) - 1); strncpy(username, pUsername, sizeof(username) - 1); strncpy(password, pPassword, sizeof(password) - 1); + +krb5_set = 1; } diff --git a/examples/libsmbclient/testbrowse.c b/examples/libsmbclient/testbrowse.c index a7eda36..a6e6395 100644 --- a/examples/libsmbclient/testbrowse.c +++ b/examples/libsmbclient/testbrowse.c @@ -117,6 +117,9 @@ main(int argc, char * argv[]) smbc_setFunctionAuthData(context, get_auth_data_fn); } +smbc_setOptionUseKerberos(context, 1); +smbc_setOptionFallbackAfterKerberos(context, 1); + /* If we've been asked to log to stderr instead of stdout, ... */ if (debug_stderr) { /* ... then set the option to do so */ diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h index 9600264..74d0d5c 100644 --- a/source/include/libsmbclient.h +++ b/source/include/libsmbclient.h @@ -259,6 +259,11 @@ typedef struct _SMBCCTX SMBCCTX; * Type for the the authentication function called by the library to * obtain authentication credentals * + * For kerberos support the function should just be called without + * prompting the user for credentials. Which means a simple 'return' + * should work. Take a look at examples/libsmbclient/get_auth_data_fn.h + * and examples/libsmbclient/testbrowse.c. + * * @param srv Server being authenticated to * * @param shr Share being authenticated to @@ -293,6 +298,11 @@ typedef void (*smbc_get_auth_data_fn)(const char *srv, * Type for the the authentication function called by the library to * obtain authentication credentals * + * For kerberos support the function should just be called without + * prompting the user for credentials. Which means a simple 'return' + * should work. Take a look at examples/libsmbclient/get_auth_data_fn.h + * and examples/libsmbclient/testbrowse.c. + * * @param c Pointer to the smb context * * @param srv Server being authenticated to -- Samba Shared Repository
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2961-g3bcda52
The branch, v3-3-test has been updated via 3bcda522f025aff249678a8a086218679fc19c6b (commit) via f020c947cfb1482176af8827ed9c361d7c21e26f (commit) via 64b48a07e714d7eb97dd49c11d9ca62951d79524 (commit) via 74d431270d9b4cc1524f79fa2ad743420afef417 (commit) via 1dbe6ea8607549649f69e1b63cc427efe67e0778 (commit) via 43579907c3cbd5a4c07fe1f8da13c9a2a7db3f32 (commit) via 8ec64a96e43d2e55e81f725fe693178ecdc65e88 (commit) via 58f54f180f0a942776455ab6e813628422493dac (commit) from fa803ce183376c938f92b0f31a7d89d522fd309f (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit 3bcda522f025aff249678a8a086218679fc19c6b Author: Günther Deschner [EMAIL PROTECTED] Date: Mon Jun 23 17:29:01 2008 +0200 net_vampire: more libnet_samsync restructuring. Guenther commit f020c947cfb1482176af8827ed9c361d7c21e26f Author: Günther Deschner [EMAIL PROTECTED] Date: Mon Jun 23 17:03:53 2008 +0200 net_vampire: prepend libnet_ to the public samsync functions. Guenther commit 64b48a07e714d7eb97dd49c11d9ca62951d79524 Author: Günther Deschner [EMAIL PROTECTED] Date: Tue Jun 17 21:53:01 2008 +0200 net_vampire: move out display routines to one file. Guenther commit 74d431270d9b4cc1524f79fa2ad743420afef417 Author: Günther Deschner [EMAIL PROTECTED] Date: Tue Jun 17 21:44:30 2008 +0200 net_vampire: move out passdb routines to one file. Guenther commit 1dbe6ea8607549649f69e1b63cc427efe67e0778 Author: Günther Deschner [EMAIL PROTECTED] Date: Tue Jun 17 21:42:27 2008 +0200 net_vampire: fix included header. Guenther commit 43579907c3cbd5a4c07fe1f8da13c9a2a7db3f32 Author: Günther Deschner [EMAIL PROTECTED] Date: Tue Jun 17 21:32:12 2008 +0200 net_vampire: display more deltas while doing samdump. Guenther commit 8ec64a96e43d2e55e81f725fe693178ecdc65e88 Author: Günther Deschner [EMAIL PROTECTED] Date: Tue Jun 17 21:22:06 2008 +0200 net_vampire: move pull_netr_AcctLockStr() to libnet. Guenther commit 58f54f180f0a942776455ab6e813628422493dac Author: Günther Deschner [EMAIL PROTECTED] Date: Mon Jun 16 13:36:53 2008 +0200 time: move uint64s_nt_time_to_unix_abs() to lib/time.c Guenther --- Summary of changes: source/Makefile.in |2 + source/include/proto.h |1 + source/lib/time.c |7 + source/libnet/libnet_proto.h | 22 +- source/libnet/libnet_samsync.c | 86 ++- source/libnet/libnet_samsync.h | 26 +- source/libnet/libnet_samsync_display.c | 302 + source/libnet/libnet_samsync_ldif.c|2 +- source/libnet/libnet_samsync_passdb.c | 789 ++ source/utils/net_rpc_samsync.c | 1143 +--- 10 files changed, 1223 insertions(+), 1157 deletions(-) create mode 100644 source/libnet/libnet_samsync_display.c create mode 100644 source/libnet/libnet_samsync_passdb.c Changeset truncated at 500 lines: diff --git a/source/Makefile.in b/source/Makefile.in index b9270b7..67d4ed1 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -894,6 +894,8 @@ SMBCONFTORT_OBJ = $(SMBCONFTORT_OBJ0) \ LIBNET_OBJ = libnet/libnet_join.o \ libnet/libnet_samsync.o \ libnet/libnet_samsync_ldif.o \ +libnet/libnet_samsync_passdb.o \ +libnet/libnet_samsync_display.o \ librpc/gen_ndr/ndr_libnet_join.o NET_OBJ1 = utils/net.o utils/net_ads.o utils/net_help.o \ diff --git a/source/include/proto.h b/source/include/proto.h index 1d30a9a..68e3926 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -1234,6 +1234,7 @@ bool nt_time_equals(const NTTIME *nt1, const NTTIME *nt2); void TimeInit(void); void get_process_uptime(struct timeval *ret_time); time_t nt_time_to_unix_abs(const NTTIME *nt); +time_t uint64s_nt_time_to_unix_abs(const uint64_t *src); void unix_timespec_to_nt_time(NTTIME *nt, struct timespec ts); void unix_to_nt_time_abs(NTTIME *nt, time_t t); bool null_mtime(time_t mtime); diff --git a/source/lib/time.c b/source/lib/time.c index 17990b9..9db88b3 100644 --- a/source/lib/time.c +++ b/source/lib/time.c @@ -1325,6 +1325,13 @@ time_t nt_time_to_unix_abs(const NTTIME *nt) return (time_t)d; } +time_t uint64s_nt_time_to_unix_abs(const uint64_t *src) +{ + NTTIME nttime; + nttime = *src; + return nt_time_to_unix_abs(nttime); +} + / Put a 8 byte filetime from a struct timespec. Uses GMT. / diff --git a/source/libnet/libnet_proto.h b/source/libnet/libnet_proto.h index
[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2963-gcd3a69e
The branch, v3-3-test has been updated via cd3a69e153d3ffb128e09871b44826041deff15a (commit) via 7974c2c8afe2ed295d8da4daa45ba5b7cb0a7584 (commit) from 3bcda522f025aff249678a8a086218679fc19c6b (commit) http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log - commit cd3a69e153d3ffb128e09871b44826041deff15a Author: Günther Deschner [EMAIL PROTECTED] Date: Wed Jun 18 12:42:27 2008 +0200 re-run make idl. Guenther commit 7974c2c8afe2ed295d8da4daa45ba5b7cb0a7584 Author: Günther Deschner [EMAIL PROTECTED] Date: Wed Jun 18 12:42:11 2008 +0200 drsuapi: fill in some more drsuapi_DsAttributeIds. Guenther --- Summary of changes: source/librpc/gen_ndr/drsuapi.h |6 ++ source/librpc/gen_ndr/ndr_drsuapi.c |3 +++ source/librpc/idl/drsuapi.idl |3 +++ 3 files changed, 12 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/librpc/gen_ndr/drsuapi.h b/source/librpc/gen_ndr/drsuapi.h index 35769f7..2f1c50e 100644 --- a/source/librpc/gen_ndr/drsuapi.h +++ b/source/librpc/gen_ndr/drsuapi.h @@ -228,6 +228,7 @@ enum drsuapi_DsAttributeId DRSUAPI_ATTRIBUTE_searchFlags=0x0002014e, DRSUAPI_ATTRIBUTE_lDAPDisplayName=0x000201cc, DRSUAPI_ATTRIBUTE_name=0x00090001, + DRSUAPI_ATTRIBUTE_userAccountControl=0x00090008, DRSUAPI_ATTRIBUTE_currentValue=0x0009001b, DRSUAPI_ATTRIBUTE_objectSid=0x00090092, DRSUAPI_ATTRIBUTE_schemaIDGUID=0x00090094, @@ -240,6 +241,7 @@ enum drsuapi_DsAttributeId DRSUAPI_ATTRIBUTE_trustAuthOutgoing=0x00090087, DRSUAPI_ATTRIBUTE_lmPwdHistory=0x000900a0, DRSUAPI_ATTRIBUTE_sAMAccountName=0x000900dd, + DRSUAPI_ATTRIBUTE_sAMAccountType=0x0009012e, DRSUAPI_ATTRIBUTE_fSMORoleOwner=0x00090171, DRSUAPI_ATTRIBUTE_systemFlags=0x00090177, DRSUAPI_ATTRIBUTE_serverReference=0x00090203, @@ -248,6 +250,7 @@ enum drsuapi_DsAttributeId DRSUAPI_ATTRIBUTE_initialAuthOutgoing=0x0009021c, DRSUAPI_ATTRIBUTE_wellKnownObjects=0x0009026a, DRSUAPI_ATTRIBUTE_isMemberOfPartialAttributeSet=0x0009027f, + DRSUAPI_ATTRIBUTE_groupType=0x000902ee, DRSUAPI_ATTRIBUTE_objectCategory=0x0009030e, DRSUAPI_ATTRIBUTE_gPLink=0x0009037b, DRSUAPI_ATTRIBUTE_msDS_Behavior_Version=0x000905b3, @@ -280,6 +283,7 @@ enum drsuapi_DsAttributeId #define DRSUAPI_ATTRIBUTE_searchFlags ( 0x0002014e ) #define DRSUAPI_ATTRIBUTE_lDAPDisplayName ( 0x000201cc ) #define DRSUAPI_ATTRIBUTE_name ( 0x00090001 ) +#define DRSUAPI_ATTRIBUTE_userAccountControl ( 0x00090008 ) #define DRSUAPI_ATTRIBUTE_currentValue ( 0x0009001b ) #define DRSUAPI_ATTRIBUTE_objectSid ( 0x00090092 ) #define DRSUAPI_ATTRIBUTE_schemaIDGUID ( 0x00090094 ) @@ -292,6 +296,7 @@ enum drsuapi_DsAttributeId #define DRSUAPI_ATTRIBUTE_trustAuthOutgoing ( 0x00090087 ) #define DRSUAPI_ATTRIBUTE_lmPwdHistory ( 0x000900a0 ) #define DRSUAPI_ATTRIBUTE_sAMAccountName ( 0x000900dd ) +#define DRSUAPI_ATTRIBUTE_sAMAccountType ( 0x0009012e ) #define DRSUAPI_ATTRIBUTE_fSMORoleOwner ( 0x00090171 ) #define DRSUAPI_ATTRIBUTE_systemFlags ( 0x00090177 ) #define DRSUAPI_ATTRIBUTE_serverReference ( 0x00090203 ) @@ -300,6 +305,7 @@ enum drsuapi_DsAttributeId #define DRSUAPI_ATTRIBUTE_initialAuthOutgoing ( 0x0009021c ) #define DRSUAPI_ATTRIBUTE_wellKnownObjects ( 0x0009026a ) #define DRSUAPI_ATTRIBUTE_isMemberOfPartialAttributeSet ( 0x0009027f ) +#define DRSUAPI_ATTRIBUTE_groupType ( 0x000902ee ) #define DRSUAPI_ATTRIBUTE_objectCategory ( 0x0009030e ) #define DRSUAPI_ATTRIBUTE_gPLink ( 0x0009037b ) #define DRSUAPI_ATTRIBUTE_msDS_Behavior_Version ( 0x000905b3 ) diff --git a/source/librpc/gen_ndr/ndr_drsuapi.c b/source/librpc/gen_ndr/ndr_drsuapi.c index ce8fbf2..a9071f3 100644 --- a/source/librpc/gen_ndr/ndr_drsuapi.c +++ b/source/librpc/gen_ndr/ndr_drsuapi.c @@ -1082,6 +1082,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsAttributeId(struct ndr_print *ndr, const char case DRSUAPI_ATTRIBUTE_searchFlags: val = DRSUAPI_ATTRIBUTE_searchFlags; break; case DRSUAPI_ATTRIBUTE_lDAPDisplayName: val = DRSUAPI_ATTRIBUTE_lDAPDisplayName; break; case DRSUAPI_ATTRIBUTE_name: val = DRSUAPI_ATTRIBUTE_name; break; + case DRSUAPI_ATTRIBUTE_userAccountControl: val = DRSUAPI_ATTRIBUTE_userAccountControl; break; case DRSUAPI_ATTRIBUTE_currentValue: val = DRSUAPI_ATTRIBUTE_currentValue; break; case DRSUAPI_ATTRIBUTE_objectSid: val = DRSUAPI_ATTRIBUTE_objectSid; break; case DRSUAPI_ATTRIBUTE_schemaIDGUID: val = DRSUAPI_ATTRIBUTE_schemaIDGUID; break; @@ -1094,6 +1095,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsAttributeId(struct ndr_print *ndr, const char
Build status as of Tue Jun 24 00:00:02 2008
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2008-06-23 00:00:12.0 + +++ /home/build/master/cache/broken_results.txt 2008-06-24 00:00:47.0 + @@ -1,4 +1,4 @@ -Build status as of Mon Jun 23 00:00:02 2008 +Build status as of Tue Jun 24 00:00:02 2008 Build counts: Tree Total Broken Panic @@ -6,7 +6,7 @@ ccache 34 8 0 ctdb 0 0 0 distcc 1 0 0 -ldb 34 34 0 +ldb 33 34 0 libreplace 33 11 0 lorikeet-heimdal 27 21 0 pidl 19 11 0 @@ -14,7 +14,7 @@ rsync34 15 0 samba-docs 0 0 0 samba-gtk5 5 0 -samba_3_2_test 34 19 0 +samba_3_2_test 34 22 0 samba_4_0_test 32 26 0 smb-build32 5 0 talloc 34 7 0