Re: [Samba] Re: Re: Recycle does not work in [homes]
Robert S schrieb: You are using samba 2.x. I don't know about recycle there, sorry I'm actually using samba 3.0.8. What makes you think that its 2.x? Is there anything in my config that's right for 2.x and wrong for 3.x?? It is the way of your config that made me believe your are still using 2.x. In 3.X an additional config for recycle isn't necessary. And the | as a seperator stopped working (but could be reintroduced, don't know about 3.08) Part of my smb.conf: [raid1] comment = 1 path = /raid1 read only = No create mask = 0777 directory mask = 0775 delete readonly = Yes vfs objects = recycle recycle:keeptree = Yes recycle:repository = .Papierkorb/%U recycle:noversions = *.doc *.xls *.ppt recycle:exclude_dir = /tmp recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? recycle:maxsize = 0 recycle:versions = Yes recycle:touch = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SWAT not running
Hello, I'm new at linux and i appreciated is somebody could help me. I have installed the latest version af SAMBA on a Cobalt RAQ550. The SNMB and the NMBD daemons are running. However, when I want to access the swat pages http://192.168.5.240:901 http://192.168.5.240:901/ There is noting found. Regards, Peter Discart -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba cannot find group in ADS
Hello everybody, I have a Samba 3.0.7-Debian setup and joined a W2k ADS-domain. A User is put in SambaUsers as his primary primary group. I can create files from XP client that belong to user in SambaUsers The user is successfully authenticated by samba and can access his profile. I want him to be able to access the share p on samba. Without valid users set for the share this is possible. If I try to limit access to SambaUsers, this group isn't found by samba in the domain. Shall I have a closer look on winbind? Who can help me have a good sunday? :) Kay testparm: # Global parameters [global] unix charset = UTF8 display charset = UTF8 workgroup = LIHH realm = LIHH.LOC server string = %h server (Samba %v) security = ADS password server = liba.lihh.loc log level = 3 passdb:5 auth:10 winbind:5 syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 domain master = No dns proxy = No wins server = 10.1.1.3 ldap ssl = no panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 template primary group = sambausers template shell = /bin/bash winbind separator = + winbind use default domain = Yes [homes] comment = Home Directories create mask = 0700 directory mask = 0700 browseable = No [p] comment = Documents path = /home/samba/p valid users = @LIHH\SambaUsers read only = No create mask = 0750 [profiles] comment = Documents path = /home/samba/profiles read only = No create mask = 0750 The groups on the DC: morgane:/etc/samba# wbinfo -g BUILTIN+System Operators BUILTIN+Replicators BUILTIN+Guests BUILTIN+Power Users BUILTIN+Print Operators BUILTIN+Administrators BUILTIN+Account Operators BUILTIN+Backup Operators BUILTIN+Users Domänencomputer Domänen-Gäste Zertifikatherausgeber Organisations-Admins Schema-Admins Domänencontroller Domänen-Benutzer Domänen-Admins Richtlinien-Ersteller-Besitzer DnsUpdateProxy SambaUsers Groupmap on samba machine: morgane:/etc/samba# net groupmap list System Operators (S-1-5-32-549) - -1 Replicators (S-1-5-32-552) - -1 Guests (S-1-5-32-546) - -1 Domain Guests (S-1-5-21-788693271-928550680-3704065133-514) - nobody Power Users (S-1-5-32-547) - -1 Print Operators (S-1-5-32-550) - -1 Administrators (S-1-5-32-544) - -1 Account Operators (S-1-5-32-548) - -1 Domänen-Benutzer (S-1-5-21-788693271-928550680-3704065133-1201) - users Domain Admins (S-1-5-21-788693271-928550680-3704065133-512) - root SambaUsers (S-1-5-21-788693271-928550680-3704065133-21065) - sambausers Backup Operators (S-1-5-32-551) - -1 Users (S-1-5-32-545) - -1 Domain Users (S-1-5-21-788693271-928550680-3704065133-513) - -1 The suspicious output of /var/log/samba/log.winbindd: [2004/11/14 04:28:05, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(298) group LIHH\SambaUsers in domain LIHH does not exist [2004/11/14 04:28:06, 3] libads/ads_ldap.c:ads_sid_to_dn(222) ads sid_to_dn mapped CN=Pentium,CN=Computers,DC=lihh,DC=loc [2004/11/14 04:28:06, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(298) group LIHH\SambaUsers in domain LIHH does not exist [2004/11/14 04:28:14, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(298) group LIHH\SambaUsers in domain LIHH does not exist [2004/11/14 04:28:15, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(298) group LIHH\SambaUsers in domain LIHH does not exist Then of course in /var/log/samba/log.ip_number I get: [2004/11/14 04:28:15, 2] smbd/service.c:make_connection_snum(314) user 'LIHH+User.Name' (from session setup) not permitted to access this share (p) [2004/11/14 04:28:15, 3] smbd/error.c:error_packet(129) error packet at smbd/reply.c(416) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SWAT not running
-Original Message- From: [EMAIL PROTECTED] [mailto:samba- [EMAIL PROTECTED] On Behalf Of Peter Discart Sent: dimanche 14 novembre 2004 13:44 However, when I want to access the swat pages http://192.168.5.240:901 http://192.168.5.240:901/ Did you check /etc/services whether there is an entry for 901 like: swat901/tcp Also does your (x)inetd listen to 901 to serve a swat service? Cheers, Guus --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SWAT not running
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Discart wrote: | | However, when I want to access the swat pages http://192.168.5.240:901 | http://192.168.5.240:901/ | | | | There is noting found. | | Hi, Peter. Check your /etc/inetd.conf file or the /etc/xinetd.d directory, depending on your distro, for a swat entry. See: http:/samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html/ Also, /etc/services needs the following: swat 901/tcp Hope that helps. Cheers, - --deryck - -- Deryck Hodge http://www.devurandom.org/ Cataloging Department http://www.lib.auburn.edu/ Samba Team http://www.samba.org/ GnuPG Keyhttp://www.devurandom.org/gpg_pubkey.asc I am flawed but I am cleaning up so well. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD4DBQFBl1jR4glRK0DaE8gRAiunAJdcBWyJrChGXKyO4gj6Sfq+MQ3zAKCpbWny wdeWPPLU8JMSyU7NQRHgdw== =Qn5I -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Changed SID after copied secrets.tdb
Hi, I recently did a complete upgrade and reinstall of one of our Samba servers. No problem, I backed up all the data, the Samba configuration files, and the secrets.tdb. Just compiled 3.0.8 on the new server (which has the same hostname), copied the smb.conf to /usr/local/samba/lib and copied th secrets.tdb to /usr/local/samba/private. Started Samba, did 'net getlocalsid' and it reports a different SID than my old server had. Just to be sure that the secrets.tdb copied correctly: furnsrv:/data/backup/mnt1/usr/local/samba/var/locks # md5sum /usr/local/samba/private/secrets.tdb /data/backup/mnt1/usr/local/samba/private/secrets.tdb 375cf198c84d026ccb9739bba4f600d5 /usr/local/samba/private/secrets.tdb 375cf198c84d026ccb9739bba4f600d5 /data/backup/mnt1/usr/local/samba/private/secrets.tdb So I can change the SID back to the correct one by hand but I'd rather know what I did wrong. Thanks for any help! Misty -- System Administrator Borkholder Corporation -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] distribute/deploy software to clients
Ed Plese wrote: On Sun, Nov 07, 2004 at 05:04:29PM +0100, Florian Effenberger wrote: I run a Windows domain based on Samba 3 and I am searching for a way to distribute/deploy software to clients. Sorry for the late response, but to add to the list of responses, http://www.pcrdist.org/ has always seemed like a neat idea. It's even free now. I haven't taken the time to thoroughly try it out yet though. I also have a late response. There is a project called WPKG - http://wpkg.sourceforge.net - which also serves this purpose. It was already mentioned it this topic. As the web page for this project looked rather terrible and didn't tell much what WPKG does, I decided to help them and make them a (hopefully) better page - it now consists of some basic (corrected) documentation, mailing list (there was none previously), etc. all necessary stuff (if I forgot abut something, let me know). There is a http backend planned for WPKG, too. Tomek -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbmount and posix ACLs
Hi, I have set up a samba 3.0.7 server with acl-support on an xfs filesystem. Everything is working as expected from the server/Windows client view. I can create/modify files, I can see the acls, fine. Now I have a linux-client which is using the same samba-server. Also here works _nearly_ everything as expected. If the owner or group of the directory/file is allowed to modify the file, everyting works. The problem is that if I want to create/modifiy a directory where the unix-rights are not sufficient, the operation is not permitted. Example: On the samba-server (fs): [EMAIL PROTECTED] getfacl . # file: . # owner: root # group: root user::rwx group::rwx group:mit:rwx mask::rwx other::r-x [EMAIL PROTECTED] groups ... mit ... [EMAIL PROTECTED] touch a ls -l -rw-rw-r--+ 1 meissner Domain Users 0 2004-11-14 15:44 a OK, now I try this on the linux-client (emc2): [EMAIL PROTECTED] getfacl . # file: . # owner: root # group: root user::rwx group::rwx other::r-x [EMAIL PROTECTED] groups ... mit ... [EMAIL PROTECTED] touch b german error message: cannot touch b, permission denied The uids/gids are synced via a global ldap server. Both linux-machines are Debian 3.1 with samba 3.0.7. I think that this is a problem of smbmount which doesn't know of the acls on the server site. How can I make it work? I don't want to set up an nfs-server for this if it is avoidable and the feeling that my windows-clients are better supported than the linux ones is ugly =) -- Beste Gruesse / Best regards Markus Meissner -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows 2000/2003 shares - danish character problem
Hallo, I know this problem is marked as solved, but here is another solution, a solution which makes it possible still to use smbfs. I have been working on a project connecting Skolelinux ltsp-server to a windows 2000 server in norwegian secondary school and came across the same problem ( that is one of the teachers and his students in my school did first). Searching the net I found the solution in SOLVED - Re: [Samba] Windows 2000/2003 shares - danish character problem (http://lists.samba.org/archive/samba/2004-August/090470.html) but Skolelinux which is based on Debian Woody has a kernel that doesn't support cifs(to my limited knowledge). So I tried to follow up the chcp 850-suggestion in the last paragraph from Martin. Solution You may need a win2kx server install cd. On a 2003 server: As a administrator open Control Panel - Regional And Language Settings - Advanced tab: Select a Scandinavian Language in Language for nonunicode programs On a 2000 server: As a administrator open Control Panel - Regional Settings - On the General tab click Set Default button: Select a Scandinavian Language as System Locale Both 2003 and 2000: Then a couple of OKs (The install cd may come in handy at this point) The system needs a reboot and then the code page is 850! A documentation in norwegian of the whole project will soon be available. ons, 2004-07-21 kl. 16:06 skrev Martin Moeller: Hello all. I have been given an assignment to mount a share automatically for each user using a given Linux machine (Mandrake 10 in this case). This is working fine, thanks to pam_mount, BUT: The mounted share contains national characters like this: æ ø å. The problem I'm having is that when I mount these on Linux the 'ø' looks like 'o' but cannot be accessed like that. It says the file or directory doesn't exist (and it has a point). I have seen this on both Windows 2000 and Windows 2003 Server. Interestingly enough there are no problems with Windows XP, as long as I use codepage=cp850 to mount with. I have tried these codepages: cp437, cp850, cp865, cp1250, cp1251, utf8 I even tried 'latin1' just to see what would happen. I guess there is something that should be changed on the Windows machine for this to work? If so does anyone know what that would be? Part of the problem is that it is a literal 'o' that is shown in the Linux filesystem but when this filename is requested of the Windows server it of course denies any knowledge of such a thing. When I write a file that has 'æøå' *inside* there are no problems displaying that. I have tried googling for clues for quite a while now and haven't found that much other than 'chcp 850' on the Windows machine. This doesn't seem to alleviate the problem when the Windows box is the server... Is it a matter of forcing cp850 at a much earlier state (running just chcp gives '437')? Any takers? :) -- Here is one at last ;-) Best regards Bernt Johnsen system administrator Ski vg skole Norway www.ski.vgs.no -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
CANCEL Re: [Samba] Changed SID after copied secrets.tdb
This was my stupid mistake. Sorry for the knee-jerk panic email! On Sunday 14 November 2004 09:00 am, Misty Stanley-Jones wrote: Hi, I recently did a complete upgrade and reinstall of one of our Samba servers. No problem, I backed up all the data, the Samba configuration files, and the secrets.tdb. Just compiled 3.0.8 on the new server (which has the same hostname), copied the smb.conf to /usr/local/samba/lib and copied th secrets.tdb to /usr/local/samba/private. Started Samba, did 'net getlocalsid' and it reports a different SID than my old server had. Just to be sure that the secrets.tdb copied correctly: furnsrv:/data/backup/mnt1/usr/local/samba/var/locks # md5sum /usr/local/samba/private/secrets.tdb /data/backup/mnt1/usr/local/samba/private/secrets.tdb 375cf198c84d026ccb9739bba4f600d5 /usr/local/samba/private/secrets.tdb 375cf198c84d026ccb9739bba4f600d5 /data/backup/mnt1/usr/local/samba/private/secrets.tdb So I can change the SID back to the correct one by hand but I'd rather know what I did wrong. Thanks for any help! Misty -- System Administrator Borkholder Corporation -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Winbind, still unreliable
Similar to below, in the case of a Samba server + winbind on SuSE 9.1 I have also experienced the problem of winbind working immediately after start up but failing after some hours or days (restart of winbind corrects the problem). After failure no new user connections can be made. This has occurred under [SuSE] samba-winbind versions 3.0.2a and 3.0.4. I recently upgraded to samba-winbind 3.0.8 and winbind failed to start at all forcing me to go back to samba-winbind 3.0.4. I can not move this server from the testing phase with a small number of testers to production with this issue. Thanks to anyone who can propose a method to trouble shoot this problem. Perhaps the problem relates to my Windows AD server. Hi there, I recently posted about problems with winbind resolving names from ADS. We have an ADS Domain Controller serving the domain MED-DUS and an NT 4 PDC serving the domain MEDOIL. We want to use a samba server as memberserver in the MED-DUS domain. I joined the samba server to the MED-DUS domain. The domain join worked ok. All users (including MEDOIL) are visible. Next i started winbind. Made sure (via wbinfo and getent) that everything is working fine and was a proud owner of a Samba fileserver. Next we started migrating (test) user accounts. After some time resolving names for the MED-DUS domain stopped working. wbinfo showed MEDOIL domain information only. Restarting winbind fixed the situation. I.e. MED-DUS was back again. But after some time the problem appeared again. I tried several versions of winbind (not yet the one from 3.0.8), tried starting (as suggested by a helpful soul) winbind with the -n option. To no avail. Winbind stops serving the MED-DUS domain after some time. I didn't see traces in the logs. I tried samba-3.0.7 rpms from suse and sernet. Linux Distribution is Suse Prof. 9.0. Anyone had the same behaviour? Anyone a clue what's going on? Regards Peter -- dadi-linux www.dadi-linux.de Peter Eckhardt Fon: +49 6071 951256 Weberstr. 36BFax: +49 6071 951257 64846 Groß-Zimmern [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Su requerimiento. [uid]32970290976c28da20be3d174e1d1712[/uid]
Estimada señora / Estimado señor, Muchas gacias por su mensaje e interés en Vivendi Universal Games. Estamos trabajando lo más rápido posible en una solución a su pregunta. Gracias por su atención, Su equipo de soporte técnico Vivendi Universal Games. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem running kde
Hi I use linux 2.6.8, kde 3.3 and samba 3.0.7 on server and clients. I use ldap to store user accounts. On client side I want to use pam_automount to mount homedirs with pam. For testing i use a singele pc as server and client 1. I've created a user test. 2. I've mounted test's homedir with: mount -t cifs -o username=test //127.0.0.1/test2 /home/test 3. Mounting works correct. I had a problem with a symlink used by kde because the link fiename contains a : with will be mangeled. after turning mangle case of this link is also ok 4. When I nw start kde it will hang. I was happy because recent versions of samba are supportings symlinks but kde stilldoesn't work Does anyone of you have an idea why? Anyone gt an idea to find the reason kde won't start? Cheers, Tilo -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem running kde
mount -t cifs -o username=test //127.0.0.1/test2 /home/test Not to completely dodge the question, but are you intending to always mount back to localhost or another unix machine for your automount sources? You may want to look at nfs for unix-unix remote fs tasks. Samba is fantastic for it's purpose, but you're doing a double conversion here. That being a posix filesystem which samba makes look like cifs on the server, then the samba client takes cifs and makes it look like a posix filesystem. -- -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] iptables on samba in AD native
Hello Samba group, I have setup iptables on a Samba-3.0.8 member server (with one IP) in a native mode Active Directory domain. Searching Samba list archives directs me to read http;//www.netfilter.org documentation and doesn't attempt to describe ports needed for samba to function as a member server in native AD. I would appreciate any constructive feedback regarding whether these iptables rules look correct, or grant too much or too little? They do work, and they express my understanding of samba server network communication. ## SAMBA RULES ## iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT ANY='0.0.0.0/0' # RPC mapper iptables -A INPUT -s $ANY -p udp --dport 135 -j ACCEPT # NetBIOS Name Service (nbname)/Datagram Service (nbdatagram) iptables -A INPUT -s $ANY -p udp --dport 137:138 -j ACCEPT # NetBIOS Session Service (nbsession) iptables -A INPUT -s $ANY -p tcp --dport 139 -j ACCEPT # TCP Connection - establish 3-way handshake iptables -A INPUT -s $ANY -p tcp --dport 445 -j ACCEPT # Kerberos V5 communication 2K Packets iptables -A INPUT -p udp -m udp --dport 88 -j ACCEPT # Kerberos V5 communication 2K Packets iptables -A INPUT -p tcp -m tcp --dport 88 -j ACCEPT # NTP communication, for Kerberose V5 tickets? iptables -A INPUT -s $ANY -p udp --dport 123 -j ACCEPT Note: Limiting the OUTPUT rules kills communications to KDC, so I left it open. -- ._. | \0/John Stile | | UniX Administration | | / \ 510-305-3800 | | [EMAIL PROTECTED] | .-. signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] winbind: some user are lost
Hi, I had my linux box running smoothly in a NT-Domain and winbind did his job well with shares, ftp and the like. But suddenly some users did not work anymore. I can not see any difference between the working and the non-working accounts when I try getent passwd or finger username or winbind -u. id username does not work. Can anyone please tell me were to look for the problem? Thank you! Wolfgang -- Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD ++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with include=smb.%U.conf
Hi, Does anybody know why Windows clients can see shares that are defined by the include=/etc/samba/smb.%U.conf option in but Mac OS X and Linux Samba clients cannot see those shares? In other words, I have a bunch of users. Each user has a set of his/her own unique shares on my Linux server that are defined in files called: /etc/samba/smb.User1.conf /etc/samba/smb.User2.conf /etc/samba/smb.User3.conf and so on. In Windows, User 1 will see the shares listed in /etc/samba/smb.User1.conf. User 2 will not see those shares (unless they are listed in User 2's directory file as well, which in my case never happens). In Mac OS X (10.3.4, 10.3.5, and 10.3.6) as well as in various Linux distributions like Mandrake 10 and 10.1 and the latest Debian, if I log in as User 1, I cannot see the shares that correspond to User 1. The only shares I can see through the Mac Finder or through the Mac Connect to Server or through the Linux Smb4k or LinNeighborhood are those defined in the general /etc/samba/smb.conf file. If there is no way around this situation, is there another way to define shares so that only specific users will see them when they browse for shares that are available? I have hundreds of shares each of which are restricted to individual users. Linux ownership and permissions are set on the directories that correspond to those shares such that User 2 can't enter User 1's directories. But I don't want User 2 to even see User 1's directories. Which is why I use the include=smb.%U.conf approach. It works great in Windows XP, but fails completely when connecting from Macs. Any solutions? Regards, Andy Liebman -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with include=smb.%U.conf
On Nov 14, 2004, at 9:28 PM, [EMAIL PROTECTED] wrote: In Windows, User 1 will see the shares listed in /etc/samba/smb.User1.conf. User 2 will not see those shares (unless they are listed in User 2's directory file as well, which in my case never happens). In Mac OS X (10.3.4, 10.3.5, and 10.3.6) as well as in various Linux distributions like Mandrake 10 and 10.1 and the latest Debian, if I log in as User 1, I cannot see the shares that correspond to User 1. The only shares I can see through the Mac Finder or through the Mac Connect to Server or through the Linux Smb4k or LinNeighborhood are those defined in the general /etc/samba/smb.conf file. I don't know how Windows does this, but I know initially MacOS X does not transmit a username. When using the Connect to Server, have you tried clicking on Authenticate? Only then does it tell the server who you are and for me the available shares get updated. However, I only have the standard [Homes] section plus shares that are available to everybody. So before Authenticate I see only the common shares. After Authenticate I get my own home directory added to the list. In linux have you tried the smbclient, supplying a username and password, to see if you see everything you are supposed to? -- Patrick D. McSwiggen[EMAIL PROTECTED] Mathematical Sciences513-556-4080 University of Cincinnati 513-556-3417 FAX -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How to verify correct member server integration?
Hi all, i am wondering about my member servers being integrated and configured properly. Is there something like a step-by-step check list available? As i know that there are plenty of possible setups out there, i want to constrain this to file services with special emphasis on groupmapping and idmapping. This aspect of samba configuration amounts to two main usecases only (please correct me if i'm wrong) a) member servers in one domain b) interdomain file services and trust Something like: 'net rpc someoption' must return 'foo1' 'net someother' must return 'foo2' Thanks for your help, Marcus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win98 Login Problem
** High Priority ** Hi I am trying to login to a Samba share via win98, When I try get access to a shared folder that is protected. It prompts me for a password. the problem is that the username is already typed in and I can not change it. On winxP, when I get prompted I can put in the username and password, and it works fine. Please any help would be muchly appreciated. Thanks Steven Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
svn commit: samba r3729 - in branches/SAMBA_4_0/source/ntvfs/posix: .
Author: tridge Date: 2004-11-14 09:16:03 + (Sun, 14 Nov 2004) New Revision: 3729 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3729 Log: permission changes on directories always include the FILE_ATTRIBUTE_DIRECTORY bit Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c Changeset: Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c === --- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c2004-11-14 03:54:48 UTC (rev 3728) +++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c2004-11-14 09:16:03 UTC (rev 3729) @@ -471,6 +471,7 @@ } /* possibly change the attribute */ + newstats.dos.attrib |= (name-dos.attrib FILE_ATTRIBUTE_DIRECTORY); if (newstats.dos.attrib != name-dos.attrib) { mode_t mode = pvfs_fileperms(pvfs, newstats.dos.attrib); if (chmod(name-full_name, mode) == -1) {
svn commit: samba r3730 - in branches/SAMBA_4_0/source: build/smb_build gtk lib/cmdline lib/ldb lib/popt lib/registry lib/tdb libcli/auth smbd
Author: jelmer Date: 2004-11-14 13:52:16 + (Sun, 14 Nov 2004) New Revision: 3730 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3730 Log: More build system fixes and simplifications the hierarchy in the init functions is correct now will also make it easier to implement some other features Removed: branches/SAMBA_4_0/source/build/smb_build/depend.pm branches/SAMBA_4_0/source/build/smb_build/dump.pm Modified: branches/SAMBA_4_0/source/build/smb_build/README.txt branches/SAMBA_4_0/source/build/smb_build/direct.pm branches/SAMBA_4_0/source/build/smb_build/input.pm branches/SAMBA_4_0/source/build/smb_build/main.pm branches/SAMBA_4_0/source/build/smb_build/makefile.pm branches/SAMBA_4_0/source/build/smb_build/output.pm branches/SAMBA_4_0/source/build/smb_build/public.m4 branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm branches/SAMBA_4_0/source/gtk/config.mk branches/SAMBA_4_0/source/lib/cmdline/config.m4 branches/SAMBA_4_0/source/lib/ldb/config.mk branches/SAMBA_4_0/source/lib/popt/config.m4 branches/SAMBA_4_0/source/lib/registry/config.mk branches/SAMBA_4_0/source/lib/tdb/config.mk branches/SAMBA_4_0/source/libcli/auth/gensec.mk branches/SAMBA_4_0/source/smbd/process_model.mk Changeset: Sorry, the patch is too large (1923 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3730
svn commit: samba r3731 - in branches/tmp/ldbPlugins/lib/ldb: . common include modules
Author: idra Date: 2004-11-14 14:24:22 + (Sun, 14 Nov 2004) New Revision: 3731 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3731 Log: make ldb compile alone again Added: branches/tmp/ldbPlugins/lib/ldb/include/dlinklist.h Modified: branches/tmp/ldbPlugins/lib/ldb/Makefile.ldb branches/tmp/ldbPlugins/lib/ldb/common/ldb_modules.c branches/tmp/ldbPlugins/lib/ldb/modules/timestamps.c Changeset: Sorry, the patch is too large (407 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3731
svn commit: samba r3732 - in branches/tmp/ldbPlugins/lib/ldb/modules: .
Author: idra Date: 2004-11-14 14:24:48 + (Sun, 14 Nov 2004) New Revision: 3732 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3732 Log: keep skel up to date Modified: branches/tmp/ldbPlugins/lib/ldb/modules/skel.c Changeset: Modified: branches/tmp/ldbPlugins/lib/ldb/modules/skel.c === --- branches/tmp/ldbPlugins/lib/ldb/modules/skel.c 2004-11-14 14:24:22 UTC (rev 3731) +++ branches/tmp/ldbPlugins/lib/ldb/modules/skel.c 2004-11-14 14:24:48 UTC (rev 3732) @@ -37,7 +37,7 @@ /* close */ static int skel_close(struct ldb_module *module) { - return ldb_next_close() + return ldb_next_close(module); } /* search */ @@ -55,13 +55,13 @@ } /* add_record */ -static int skel_add_record(struct ldb_module *module, struct ldb_message *msg) +static int skel_add_record(struct ldb_module *module, const struct ldb_message *msg) { return ldb_next_add_record(module, msg); } /* modify_record */ -static int skel_modify_record(struct ldb_module *module, struct ldb_message *msg) +static int skel_modify_record(struct ldb_module *module, const struct ldb_message *msg) { return ldb_next_modify_record(module, msg); } @@ -84,12 +84,12 @@ return ldb_next_errstring(module); } -static const char *skel_cache_free(struct ldb_module *module) +static void skel_cache_free(struct ldb_module *module) { - return ldb_next_cache_free(module); + ldb_next_cache_free(module); } -static const struct ldb_module skel_ops = { +static const struct ldb_module_ops skel_ops = { skel, skel_close, skel_search,
svn commit: samba-web r414 - in trunk/news: calendar style
Author: deryck Date: 2004-11-14 14:42:13 + (Sun, 14 Nov 2004) New Revision: 414 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=414 Log: Add dates for Simo's LinuxDay conference to calendar. Adjust CSS to fit larger fonts and screens better. --deryck Added: trunk/news/calendar/linuxday_italy.txt Modified: trunk/news/calendar/index.html trunk/news/calendar/showDate.js trunk/news/style/news.css Changeset: Modified: trunk/news/calendar/index.html === --- trunk/news/calendar/index.html 2004-11-12 20:37:24 UTC (rev 413) +++ trunk/news/calendar/index.html 2004-11-14 14:42:13 UTC (rev 414) @@ -185,7 +185,7 @@ td24/td td25/td td26/td -td27/td +tda href=linuxday_italy.txt onclick=showDate(19); return false27/a/td /tr tr td28/td Added: trunk/news/calendar/linuxday_italy.txt === --- trunk/news/calendar/linuxday_italy.txt 2004-11-12 20:37:24 UTC (rev 413) +++ trunk/news/calendar/linuxday_italy.txt 2004-11-14 14:42:13 UTC (rev 414) @@ -0,0 +1,9 @@ +November 27, LinuxDay Italy + +LinuxDay will have 96 seperate one day conferences in +various cities around Italy. Samba Team member Simo Sorce +will be speaking on Samba, present and future at the Trento +conference. + +For more info on LinuxDay see http://www.linux.it/LinuxDay/programma.phtml. +For the Trento LinuxDay see http://www.linuxtrent.it/iniziative/linuxday/2004/FrontPage. Modified: trunk/news/calendar/showDate.js === --- trunk/news/calendar/showDate.js 2004-11-12 20:37:24 UTC (rev 413) +++ trunk/news/calendar/showDate.js 2004-11-14 14:42:13 UTC (rev 414) @@ -19,6 +19,7 @@ allEvents[16] = 'pDecember 2-3, Berlin, Germany/ppIBM is hosting a Volker Lendecke led advanced Samba tutorial. For more info, see this a href=http://www-5.ibm.com/services/learning/de/ta-iris.nsf/(ExtCourseNr)/SAMBA3DEoverview of the tutorial/a./p' allEvents[17] = 'pDecember 6-8, Goettingen, Germany/ppSerNet is offering a 3 day Samba Course led by Samba Team member Volker Lendecke. For more info, please see the a href=http://www.sernet.de/Training/Samba.shtml;SerNet Samba training page/a./p' allEvents[18] = 'pNovember 29-December 1, iX Conference, Munich/ppVolker Lendecke will be giving a full-day Samba tutorial on November 29 and a talk comparing file systems on December 1. For more info, see the a href=http://www.ix-konferenz.de/;iX Conference website/a./p' +allEvents[19] = 'pNovember 27, LinuxDay Italy/ppLinuxDay will have 96 seperate one day conferences in various cities around Italy. Samba Team member Simo Sorce will be speaking on Samba, present and future at the Trento conference./ppFor more info on LinuxDay see a href=http://www.linux.it/LinuxDay/programma.phtml;the LinuxDay site/a. For the Trento LinuxDay see a href=http://www.linuxtrent.it/iniziative/linuxday/2004/FrontPage;this site/a./p' Modified: trunk/news/style/news.css === --- trunk/news/style/news.css 2004-11-12 20:37:24 UTC (rev 413) +++ trunk/news/style/news.css 2004-11-14 14:42:13 UTC (rev 414) @@ -101,7 +101,7 @@ } .dates_l { float:left; - margin:50px 10px 50px 25px; + margin:50px 10px 50px 5px; } .dates_r { float:left;
svn commit: samba r3733 - in branches/SAMBA_4_0/source: . auth build/m4 build/smb_build client gtk ldap_server lib lib/dcom lib/ldb lib/messaging lib/registry lib/socket lib/tdb libcli/auth libcli/ldap libnet librpc nsswitch ntvfs ntvfs/posix ntvfs/unixuid rpc_server smb_server smbd torture utils utils/net
Author: jelmer Date: 2004-11-14 16:22:01 + (Sun, 14 Nov 2004) New Revision: 3733 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3733 Log: More build system fixes/features: - Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities) Added: branches/SAMBA_4_0/source/build/smb_build/dot.pm Removed: branches/SAMBA_4_0/source/auth/config.m4 branches/SAMBA_4_0/source/client/config.m4 branches/SAMBA_4_0/source/ldap_server/config.m4 branches/SAMBA_4_0/source/lib/basic.m4 branches/SAMBA_4_0/source/lib/dcom/config.m4 branches/SAMBA_4_0/source/lib/messaging/config.m4 branches/SAMBA_4_0/source/libcli/auth/config.m4 branches/SAMBA_4_0/source/libcli/ldap/config.m4 branches/SAMBA_4_0/source/libnet/config.m4 branches/SAMBA_4_0/source/librpc/config.m4 branches/SAMBA_4_0/source/nsswitch/config.m4 branches/SAMBA_4_0/source/ntvfs/config.m4 branches/SAMBA_4_0/source/rpc_server/config.m4 branches/SAMBA_4_0/source/smb_server/config.m4 branches/SAMBA_4_0/source/smbd/config.m4 branches/SAMBA_4_0/source/torture/config.m4 branches/SAMBA_4_0/source/utils/config.m4 branches/SAMBA_4_0/source/utils/net/config.m4 Modified: branches/SAMBA_4_0/source/auth/config.mk branches/SAMBA_4_0/source/build/m4/rewrite.m4 branches/SAMBA_4_0/source/build/smb_build/config_mk.pm branches/SAMBA_4_0/source/build/smb_build/input.pm branches/SAMBA_4_0/source/build/smb_build/main.pm branches/SAMBA_4_0/source/build/smb_build/makefile.pm branches/SAMBA_4_0/source/build/smb_build/output.pm branches/SAMBA_4_0/source/build/smb_build/public.m4 branches/SAMBA_4_0/source/configure.in branches/SAMBA_4_0/source/gtk/config.m4 branches/SAMBA_4_0/source/gtk/config.mk branches/SAMBA_4_0/source/lib/basic.mk branches/SAMBA_4_0/source/lib/ldb/config.m4 branches/SAMBA_4_0/source/lib/ldb/config.mk branches/SAMBA_4_0/source/lib/registry/config.m4 branches/SAMBA_4_0/source/lib/registry/config.mk branches/SAMBA_4_0/source/lib/socket/config.m4 branches/SAMBA_4_0/source/lib/socket/config.mk branches/SAMBA_4_0/source/lib/tdb/config.m4 branches/SAMBA_4_0/source/lib/tdb/config.mk branches/SAMBA_4_0/source/libcli/auth/gensec.m4 branches/SAMBA_4_0/source/libcli/auth/gensec.mk branches/SAMBA_4_0/source/librpc/config.mk branches/SAMBA_4_0/source/ntvfs/config.mk branches/SAMBA_4_0/source/ntvfs/posix/config.m4 branches/SAMBA_4_0/source/ntvfs/posix/config.mk branches/SAMBA_4_0/source/ntvfs/unixuid/config.m4 branches/SAMBA_4_0/source/ntvfs/unixuid/config.mk branches/SAMBA_4_0/source/rpc_server/config.mk branches/SAMBA_4_0/source/smbd/config.mk branches/SAMBA_4_0/source/smbd/process_model.m4 branches/SAMBA_4_0/source/smbd/process_model.mk branches/SAMBA_4_0/source/utils/config.mk Changeset: Sorry, the patch is too large (1499 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3733
svn commit: samba r3734 - in branches/SAMBA_4_0/source: gtk lib/registry librpc
Author: jelmer Date: 2004-11-14 16:34:30 + (Sun, 14 Nov 2004) New Revision: 3734 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3734 Log: Fix some incorrect dependencies Modified: branches/SAMBA_4_0/source/gtk/config.mk branches/SAMBA_4_0/source/lib/registry/config.mk branches/SAMBA_4_0/source/librpc/config.mk Changeset: Modified: branches/SAMBA_4_0/source/gtk/config.mk === --- branches/SAMBA_4_0/source/gtk/config.mk 2004-11-14 16:22:01 UTC (rev 3733) +++ branches/SAMBA_4_0/source/gtk/config.mk 2004-11-14 16:34:30 UTC (rev 3734) @@ -22,7 +22,7 @@ # Start BINARY gepdump [BINARY::gepdump] OBJ_FILES = gtk/tools/gepdump.o -REQUIRED_SUBSYSTEMS = CONFIG LIBCMDLINE GTKSMB LIBRPC LIBSMB +REQUIRED_SUBSYSTEMS = CONFIG LIBCMDLINE GTKSMB LIBRPC # End BINARY gepdump @@ -30,7 +30,7 @@ # Start BINARY gwcrontab [BINARY::gwcrontab] OBJ_FILES = gtk/tools/gwcrontab.o -REQUIRED_SUBSYSTEMS = CONFIG LIBCMDLINE LIBSMB GTKSMB LIBRPC +REQUIRED_SUBSYSTEMS = CONFIG LIBCMDLINE GTKSMB LIBRPC # End BINARY gwcrontab @@ -38,6 +38,6 @@ # Start BINARY gwsam [BINARY::gwsam] OBJ_FILES = gtk/tools/gwsam.o gtk/tools/gwsam_user.o -REQUIRED_SUBSYSTEMS = CONFIG LIBCMDLINE LIBRPC LIBSMB GTKSMB +REQUIRED_SUBSYSTEMS = CONFIG LIBCMDLINE LIBRPC GTKSMB # End BINARY gwsam Modified: branches/SAMBA_4_0/source/lib/registry/config.mk === --- branches/SAMBA_4_0/source/lib/registry/config.mk2004-11-14 16:22:01 UTC (rev 3733) +++ branches/SAMBA_4_0/source/lib/registry/config.mk2004-11-14 16:34:30 UTC (rev 3734) @@ -38,7 +38,7 @@ INIT_OBJ_FILES = \ lib/registry/reg_backend_rpc/reg_backend_rpc.o REQUIRED_SUBSYSTEMS = \ - LIBSMB + LIBRPC # End MODULE registry_rpc Modified: branches/SAMBA_4_0/source/librpc/config.mk === --- branches/SAMBA_4_0/source/librpc/config.mk 2004-11-14 16:22:01 UTC (rev 3733) +++ branches/SAMBA_4_0/source/librpc/config.mk 2004-11-14 16:34:30 UTC (rev 3734) @@ -25,6 +25,7 @@ librpc/rpc/dcerpc_spnego.o \ librpc/rpc/dcerpc_smb.o \ librpc/rpc/dcerpc_sock.o +REQUIRED_SUBSYSTEMS = LIBSMB SOCKET # End SUBSYSTEM LIBRPC_RAW
svn commit: samba r3735 - in branches/SAMBA_4_0/source: build/smb_build libcli/auth
Author: jelmer Date: 2004-11-14 16:51:32 + (Sun, 14 Nov 2004) New Revision: 3735 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3735 Log: Allow building subsystems as static libraries (.a files). To enable this support, run SUBSYSTEM_OUTPUT_TYPE=STATIC_LIBRARY ./config.status I haven't enabled this by default because there are some circular dependencies in the makefile that have to be resolved first (LIBRPC depends on LIBSMB and LIBSMB depends on LIBRPC..) Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm branches/SAMBA_4_0/source/build/smb_build/makefile.pm branches/SAMBA_4_0/source/build/smb_build/output.pm branches/SAMBA_4_0/source/libcli/auth/gensec.mk Changeset: Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm === --- branches/SAMBA_4_0/source/build/smb_build/input.pm 2004-11-14 16:34:30 UTC (rev 3734) +++ branches/SAMBA_4_0/source/build/smb_build/input.pm 2004-11-14 16:51:32 UTC (rev 3735) @@ -10,6 +10,7 @@ use strict; package input; +my $subsystem_output_type = OBJLIST; our $srcdir = .; sub strtrim($) @@ -52,8 +53,7 @@ printf(Subsystem: %s disabled!\n,$subsys-{NAME}); } - # FIXME: Make this configurable (so it can be STATIC_LIBRARY, for example) - $subsys-{OUTPUT_TYPE} = OBJLIST; + $subsys-{OUTPUT_TYPE} = $subsystem_output_type; } sub check_module($$) @@ -89,7 +89,7 @@ $mod-{ENABLE} = YES; push (@{$CTX-{INPUT}{$mod-{SUBSYSTEM}}{REQUIRED_SUBSYSTEMS}}, $mod-{NAME}); printf(Module: %s...static\n,$mod-{NAME}); - $mod-{OUTPUT_TYPE} = OBJLIST; + $mod-{OUTPUT_TYPE} = $subsystem_output_type; } else { $mod-{ENABLE} = NO; printf(Module: %s...not\n,$mod-{NAME}); @@ -151,6 +151,8 @@ { my $CTX = shift; + ($subsystem_output_type = $ENV{SUBSYSTEM_OUTPUT_TYPE}) if (defined($ENV{SUBSYSTEM_OUTPUT_TYPE})); + foreach my $part (values %{$CTX-{INPUT}}) { ($part-{ENABLE} = YES) if not defined($part-{ENABLE}); } Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm === --- branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2004-11-14 16:34:30 UTC (rev 3734) +++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2004-11-14 16:51:32 UTC (rev 3735) @@ -425,13 +425,11 @@ LIBRARY_$ctx-{NAME}_DEPEND_LIST =$tmpdepend # LIBRARY_$ctx-{NAME}_STATIC_LINK_LIST =$tmpstlink -LIBRARY_$ctx-{NAME}_STATIC_LINK_FLAGS =$tmpstflag # # Static $ctx-{LIBRARY_NAME} -bin/$ctx-{LIBRARY_NAME}: \$(LIBRARY_$ctx-{NAME}_DEPEND_LIST) bin/.dummy +$ctx-{OUTPUT}: \$(LIBRARY_$ctx-{NAME}_DEPEND_LIST) bin/.dummy [EMAIL PROTECTED] Linking \$\@ [EMAIL PROTECTED](STLD) \$(STLD_FLAGS) \$\@ \\ - \$(LIBRARY_$ctx-{NAME}_STATIC_LINK_FLAGS) \\ \$(LIBRARY_$ctx-{NAME}_STATIC_LINK_LIST) library_$ctx-{NAME}: basics $tmprules Modified: branches/SAMBA_4_0/source/build/smb_build/output.pm === --- branches/SAMBA_4_0/source/build/smb_build/output.pm 2004-11-14 16:34:30 UTC (rev 3734) +++ branches/SAMBA_4_0/source/build/smb_build/output.pm 2004-11-14 16:51:32 UTC (rev 3735) @@ -43,7 +43,7 @@ @{$lib-{LINK_LIST}} = (\$($lib-{TYPE}_$lib-{NAME}\_OBJS)); @{$lib-{LINK_FLAGS}} = (); - $lib-{OUTPUT} = $lib-{LIBRARY_NAME}; + $lib-{OUTPUT} = bin/$lib-{LIBRARY_NAME}; } sub generate_binary($) @@ -95,7 +95,7 @@ push(@{$part-{CFLAGS}}, @{$elem-{CFLAGS}}) if defined(@{$elem-{CFLAGS}}); push(@{$part-{DEPEND_LIST}}, $elem-{OUTPUT}) if defined($elem-{OUTPUT}); push(@{$part-{LINK_LIST}}, $elem-{OUTPUT}) if defined($elem-{OUTPUT}); - push(@{$part-{LINK_LIST}}, @{$elem-{LIBS}}) if defined($elem-{LIBS}); + push(@{$part-{LINK_FLAGS}}, @{$elem-{LIBS}}) if defined($elem-{LIBS}); push(@{$part-{LINK_FLAGS}},@{$elem-{LDFLAGS}}) if defined($elem-{LDFLAGS}); push(@{$part-{MODULE_INIT_FUNCTIONS}}, @{$elem-{INIT_FUNCTION}}) if Modified: branches/SAMBA_4_0/source/libcli/auth/gensec.mk === --- branches/SAMBA_4_0/source/libcli/auth/gensec.mk 2004-11-14 16:34:30 UTC (rev 3734) +++ branches/SAMBA_4_0/source/libcli/auth/gensec.mk 2004-11-14 16:51:32 UTC (rev 3735) @@ -19,7 +19,7 @@ libcli/auth/kerberos.o \ libcli/auth/kerberos_verify.o \ libcli/auth/gssapi_parse.o -REQUIRED_SUBSYSTEMS = GENSEC EXT_LIB_KRB5
svn commit: samba r3736 - in branches/SAMBA_4_0/source/build/smb_build: .
Author: jelmer Date: 2004-11-14 21:25:07 + (Sun, 14 Nov 2004) New Revision: 3736 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3736 Log: Fix the build for builds that haven't got all libs samba can use installed. Modified: branches/SAMBA_4_0/source/build/smb_build/public.m4 Changeset: Modified: branches/SAMBA_4_0/source/build/smb_build/public.m4 === --- branches/SAMBA_4_0/source/build/smb_build/public.m4 2004-11-14 16:51:32 UTC (rev 3735) +++ branches/SAMBA_4_0/source/build/smb_build/public.m4 2004-11-14 21:25:07 UTC (rev 3736) @@ -114,7 +114,9 @@ dnl) AC_DEFUN([SMB_MODULE_DEFAULT], [ - [SMB_MODULE_DEFAULT_][$1]=$2 + [SMB_MODULE_DEFAULT][$1]=$2 +SMB_INFO_MODULES=$SMB_INFO_MODULES +\$INPUT{$1}{DEFAULT_BUILD} = \$2\; ]) dnl SMB_MODULE ( @@ -170,6 +172,8 @@ AC_DEFUN([SMB_SUBSYSTEM_ENABLE], [ [SMB_SUBSYSTEM_ENABLE_][$1]=$2 +SMB_INFO_SUBSYSTEMS=$SMB_INFO_SUBSYSTEMS +\$INPUT{$1}{ENABLE} = \$2\; ]) dnl SMB_SUBSYSTEM_NOPROTO( @@ -223,6 +227,9 @@ AC_DEFUN([SMB_EXT_LIB_ENABLE], [ [SMB_EXT_LIB_ENABLE_][$1]=$2 + +SMB_INFO_SUBSYSTEMS=$SMB_INFO_SUBSYSTEMS +\$INPUT{EXT_LIB_$1}{ENABLE} = \$2\; ]) dnl SMB_EXT_LIB_FROM_PKGCONFIG( @@ -242,6 +249,8 @@ echo *** in your path, or set the PKG_CONFIG environment variable echo *** to the full path to pkg-config. echo *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. + SMB_EXT_LIB($1) + SMB_EXT_LIB_ENABLE($1, NO) else if $PKG_CONFIG --atleast-pkgconfig-version 0.9.0; then AC_MSG_CHECKING(for $2) @@ -263,12 +272,16 @@ $1_CFLAGS=`$PKG_CONFIG --cflags '$2'` CFLAGS=$CFLAGS $$1_CFLAGS else + SMB_EXT_LIB($1) + SMB_EXT_LIB_ENABLE($1, NO) AC_MSG_RESULT(no) $PKG_CONFIG --errors-to-stdout --print-errors '$2' fi else echo *** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer. - echo *** See http://www.freedesktop.org/software/pkgconfig; + echo *** See http://www.freedesktop.org/software/pkgconfig; + SMB_EXT_LIB($1) + SMB_EXT_LIB_ENABLE($1, NO) fi fi ]) @@ -312,6 +325,9 @@ AC_DEFUN([SMB_LIBRARY_ENABLE], [ [SMB_LIBRARY_ENABLE_][$1]=$2 + +SMB_INFO_SUBSYSTEMS=$SMB_INFO_SUBSYSTEMS +\$INPUT{$1}{ENABLE} = \$2\; ]) dnl SMB_LIBRARY( @@ -356,6 +372,9 @@ AC_DEFUN([SMB_BINARY_ENABLE], [ [SMB_BINARY_ENABLE_][$1]=$2; + +SMB_INFO_SUBSYSTEMS=$SMB_INFO_SUBSYSTEMS +\$INPUT{$1}{ENABLE} = \$2\; ]) dnl SMB_BINARY(
svn commit: samba r3737 - in branches/SAMBA_4_0/source: auth build/pidl build/smb_build lib lib/dcom lib/dcom/common lib/registry lib/registry/common lib/registry/reg_backend_dir lib/registry/reg_backend_gconf lib/registry/reg_backend_ldb lib/registry/reg_backend_nt4 lib/registry/reg_backend_rpc lib/registry/reg_backend_w95 lib/tdb libcli/auth librpc/rpc ntvfs ntvfs/cifs ntvfs/ipc ntvfs/nbench ntvfs/posix ntvfs/print ntvfs/simple ntvfs/unixuid rpc_server rpc_server/dcom rpc_server/remote smbd
Author: jelmer Date: 2004-11-14 22:23:23 + (Sun, 14 Nov 2004) New Revision: 3737 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3737 Log: - Get rid of the register_subsystem() and register_backend() functions. - Re-disable tdbtool (it was building fine on my Debian box but other machines were having problems) Removed: branches/SAMBA_4_0/source/lib/module.c Modified: branches/SAMBA_4_0/source/auth/auth.c branches/SAMBA_4_0/source/auth/auth_builtin.c branches/SAMBA_4_0/source/auth/auth_sam.c branches/SAMBA_4_0/source/auth/auth_winbind.c branches/SAMBA_4_0/source/auth/config.mk branches/SAMBA_4_0/source/build/pidl/proxy.pm branches/SAMBA_4_0/source/build/pidl/server.pm branches/SAMBA_4_0/source/build/smb_build/output.pm branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm branches/SAMBA_4_0/source/lib/basic.mk branches/SAMBA_4_0/source/lib/dcom/common/tables.c branches/SAMBA_4_0/source/lib/dcom/config.mk branches/SAMBA_4_0/source/lib/iconv.c branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c branches/SAMBA_4_0/source/lib/registry/config.mk branches/SAMBA_4_0/source/lib/registry/reg_backend_dir/reg_backend_dir.c branches/SAMBA_4_0/source/lib/registry/reg_backend_gconf/reg_backend_gconf.c branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb/reg_backend_ldb.c branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4/reg_backend_nt4.c branches/SAMBA_4_0/source/lib/registry/reg_backend_rpc/reg_backend_rpc.c branches/SAMBA_4_0/source/lib/registry/reg_backend_w95/reg_backend_w95.c branches/SAMBA_4_0/source/lib/tdb/config.mk branches/SAMBA_4_0/source/libcli/auth/gensec.c branches/SAMBA_4_0/source/libcli/auth/gensec_ntlmssp.c branches/SAMBA_4_0/source/libcli/auth/spnego.c branches/SAMBA_4_0/source/librpc/rpc/dcerpc_schannel.c branches/SAMBA_4_0/source/ntvfs/cifs/vfs_cifs.c branches/SAMBA_4_0/source/ntvfs/config.mk branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c branches/SAMBA_4_0/source/ntvfs/nbench/vfs_nbench.c branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c branches/SAMBA_4_0/source/ntvfs/print/vfs_print.c branches/SAMBA_4_0/source/ntvfs/simple/vfs_simple.c branches/SAMBA_4_0/source/ntvfs/unixuid/vfs_unixuid.c branches/SAMBA_4_0/source/rpc_server/config.mk branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c branches/SAMBA_4_0/source/rpc_server/dcom/remact.c branches/SAMBA_4_0/source/rpc_server/remote/dcesrv_remote.c branches/SAMBA_4_0/source/smbd/config.mk branches/SAMBA_4_0/source/smbd/process_model.c branches/SAMBA_4_0/source/smbd/process_model.mk branches/SAMBA_4_0/source/smbd/process_single.c branches/SAMBA_4_0/source/smbd/process_standard.c branches/SAMBA_4_0/source/smbd/process_thread.c branches/SAMBA_4_0/source/smbd/service.c Changeset: Sorry, the patch is too large (1104 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3737
svn commit: samba r3738 - in branches/SAMBA_4_0/source/build/smb_build: .
Author: jelmer Date: 2004-11-14 22:33:21 + (Sun, 14 Nov 2004) New Revision: 3738 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3738 Log: Use a hardcoded list of .mk files rather then find (breaks on some machines) Modified: branches/SAMBA_4_0/source/build/smb_build/main.pm Changeset: Modified: branches/SAMBA_4_0/source/build/smb_build/main.pm === --- branches/SAMBA_4_0/source/build/smb_build/main.pm 2004-11-14 22:23:23 UTC (rev 3737) +++ branches/SAMBA_4_0/source/build/smb_build/main.pm 2004-11-14 22:33:21 UTC (rev 3738) @@ -22,7 +22,35 @@ INPUT = $INPUT ); - my @mkfiles = split /\n/, `find -name *.mk`; + my @mkfiles = ( + gtk/config.mk, + smbd/config.mk, + smbd/process_model.mk, + libnet/config.mk, + auth/config.mk, + nsswitch/config.mk, + lib/basic.mk, + lib/dcom/config.mk, + lib/socket/config.mk, + lib/ldb/config.mk, + lib/tdb/config.mk, + lib/registry/config.mk, + lib/messaging/config.mk, + smb_server/config.mk, + rpc_server/config.mk, + ldap_server/config.mk, + libcli/auth/gensec.mk, + libcli/auth/config.mk, + libcli/ldap/config.mk, + libcli/config.mk, + utils/net/config.mk, + utils/config.mk, + ntvfs/posix/config.mk, + ntvfs/config.mk, + ntvfs/unixuid/config.mk, + torture/config.mk, + librpc/config.mk, + client/config.mk); for my $mkfile (@mkfiles) { config_mk::import_file($SMB_BUILD_CTX{INPUT}, $mkfile);
svn commit: samba r3739 - in branches/SAMBA_4_0/source: . build/smb_build libcli libcli/auth
Author: jelmer Date: 2004-11-14 22:47:39 + (Sun, 14 Nov 2004) New Revision: 3739 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3739 Log: Remove a bunch of unused m4 macros Added: branches/SAMBA_4_0/source/libcli/libsmb.mk Removed: branches/SAMBA_4_0/source/libcli/libsmb.m4 Modified: branches/SAMBA_4_0/source/build/smb_build/main.pm branches/SAMBA_4_0/source/build/smb_build/public.m4 branches/SAMBA_4_0/source/configure.in branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c Changeset: Sorry, the patch is too large (299 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3739
svn commit: samba r3740 - in branches/SAMBA_4_0/source: build/smb_build libcli librpc
Author: jelmer Date: 2004-11-14 23:10:04 + (Sun, 14 Nov 2004) New Revision: 3740 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3740 Log: Convert more files to .mk, fix the build Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm branches/SAMBA_4_0/source/build/smb_build/main.pm branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm branches/SAMBA_4_0/source/libcli/config.m4 branches/SAMBA_4_0/source/libcli/config.mk branches/SAMBA_4_0/source/libcli/libsmb.mk branches/SAMBA_4_0/source/librpc/config.mk Changeset: Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm === --- branches/SAMBA_4_0/source/build/smb_build/input.pm 2004-11-14 22:47:39 UTC (rev 3739) +++ branches/SAMBA_4_0/source/build/smb_build/input.pm 2004-11-14 23:10:04 UTC (rev 3740) @@ -11,7 +11,7 @@ package input; my $subsystem_output_type = OBJLIST; -our $srcdir = .; +my $srcdir = .; sub strtrim($) { Modified: branches/SAMBA_4_0/source/build/smb_build/main.pm === --- branches/SAMBA_4_0/source/build/smb_build/main.pm 2004-11-14 22:47:39 UTC (rev 3739) +++ branches/SAMBA_4_0/source/build/smb_build/main.pm 2004-11-14 23:10:04 UTC (rev 3740) @@ -51,7 +51,9 @@ torture/config.mk, librpc/config.mk, client/config.mk, - libcli/libsmb.mk); + libcli/libsmb.mk, + libcli/config.mk + ); $| = 1; Modified: branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm === --- branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm2004-11-14 22:47:39 UTC (rev 3739) +++ branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm2004-11-14 23:10:04 UTC (rev 3740) @@ -103,13 +103,13 @@ $output .= _prepare_smb_build_h($CTX); - open(SMB_BUILD_H, $input::srcdir/include/smb_build.h) || die (Can't open include/smb_build.h\n); + open(SMB_BUILD_H, include/smb_build.h) || die (Can't open include/smb_build.h\n); print SMB_BUILD_H $output; close(SMB_BUILD_H); - print config.smb_build.pl: creating $input::srcdir/include/smb_build.h\n; + print config.smb_build.pl: creating include/smb_build.h\n; return; } 1; Modified: branches/SAMBA_4_0/source/libcli/config.m4 === --- branches/SAMBA_4_0/source/libcli/config.m4 2004-11-14 22:47:39 UTC (rev 3739) +++ branches/SAMBA_4_0/source/libcli/config.m4 2004-11-14 23:10:04 UTC (rev 3740) @@ -27,23 +27,3 @@ libcli/raw/rawacl.o libcli/raw/rawdate.o], [${LIBCLI_RAW_LIBS}]) - -SMB_SUBSYSTEM(LIBCLI_UTILS,[], - [libcli/util/asn1.o - libcli/util/smberr.o - libcli/util/doserr.o - libcli/util/errormap.o - libcli/util/clierror.o - libcli/util/nterr.o - libcli/util/smbdes.o - libcli/util/smbencrypt.o - libcli/util/dom_sid.o]) - -SMB_SUBSYSTEM(LIBCLI_NMB,[], - [libcli/unexpected.o - libcli/namecache.o - libcli/nmblib.o - libcli/namequery.o]) - -SMB_SUBSYSTEM(LIBCLI,[],[],[], - [LIBCLI_RAW LIBCLI_UTILS LIBCLI_AUTH LIBCLI_NMB]) Modified: branches/SAMBA_4_0/source/libcli/config.mk === --- branches/SAMBA_4_0/source/libcli/config.mk 2004-11-14 22:47:39 UTC (rev 3739) +++ branches/SAMBA_4_0/source/libcli/config.mk 2004-11-14 23:10:04 UTC (rev 3740) @@ -0,0 +1,19 @@ +[SUBSYSTEM::LIBCLI_UTILS] +ADD_OBJ_FILES = libcli/util/asn1.o \ + libcli/util/smberr.o \ + libcli/util/doserr.o \ + libcli/util/errormap.o \ + libcli/util/clierror.o \ + libcli/util/nterr.o \ + libcli/util/smbdes.o \ + libcli/util/smbencrypt.o \ + libcli/util/dom_sid.o + +[SUBSYSTEM::LIBCLI_NMB] +ADD_OBJ_FILES = libcli/unexpected.o \ + libcli/namecache.o \ + libcli/nmblib.o \ + libcli/namequery.o + +[SUBSYSTEM::LIBCLI] +REQUIRED_SUBSYSTEMS = LIBCLI_RAW LIBCLI_UTILS LIBCLI_AUTH LIBCLI_NMB Modified: branches/SAMBA_4_0/source/libcli/libsmb.mk === --- branches/SAMBA_4_0/source/libcli/libsmb.mk 2004-11-14 22:47:39 UTC (rev 3739) +++ branches/SAMBA_4_0/source/libcli/libsmb.mk 2004-11-14 23:10:04 UTC (rev 3740) @@ -1,8 +1,6 @@ -dnl # LIBSMB subsystem - [SUBSYSTEM::LIBSMB] REQUIRED_SUBSYSTEMS = LIBCLI LIBRPC SOCKET -ADD_OBJ_LIST = libcli/clireadwrite.o \ +ADD_OBJ_FILES = libcli/clireadwrite.o \ libcli/cliconnect.o \
svn commit: samba r3741 - in branches/SAMBA_4_0/source/ntvfs/posix: .
Author: tridge Date: 2004-11-14 23:37:02 + (Sun, 14 Nov 2004) New Revision: 3741 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3741 Log: FILE_ATTRIBUTE_DIRECTORY is illegal in open of a file Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c Changeset: Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c === --- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c 2004-11-14 23:10:04 UTC (rev 3740) +++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c 2004-11-14 23:37:02 UTC (rev 3741) @@ -809,6 +809,10 @@ flags |= O_RDONLY; } + if (io-generic.in.file_attr FILE_ATTRIBUTE_DIRECTORY) { + return NT_STATUS_INVALID_PARAMETER; + } + /* handle creating a new file separately */ if (!name-exists) { status = pvfs_create_file(pvfs, req, name, io);
svn commit: samba r3742 - in branches/SAMBA_4_0/source/lib/ldb/tests: .
Author: tridge Date: 2004-11-15 00:15:25 + (Mon, 15 Nov 2004) New Revision: 3742 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3742 Log: make test-ldap give a sane error message when the openldap schema files are missing and auto-link the files if they are found in /etc/ldap/schema/ Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh === --- branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh2004-11-14 23:37:02 UTC (rev 3741) +++ branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh2004-11-15 00:15:25 UTC (rev 3742) @@ -1,5 +1,24 @@ #!/bin/sh +SCHEMA_NEEDED=core nis cosine inetorgperson openldap + +# setup needed schema files +for f in $SCHEMA_NEEDED; do +if [ ! -r tests/schema/$f.schema ]; then + mkdir -p tests/schema + if [ -r /etc/ldap/schema/$f.schema ]; then + ln -s /etc/ldap/schema/$f.schema tests/schema/$f.schema + continue; + fi + + echo ERROR: you need the following OpenLDAP schema files in tests/schema/ + for f in $SCHEMA_NEEDED; do + echo $f.schema + done + exit 1 +fi +done + tests/init_slapd.sh tests/start_slapd.sh
svn commit: samba r3743 - in branches/SAMBA_4_0/source/lib/ldb/tests: .
Author: tridge Date: 2004-11-15 00:31:32 + (Mon, 15 Nov 2004) New Revision: 3743 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3743 Log: auto-support the RH schema location as well Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh === --- branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh2004-11-15 00:15:25 UTC (rev 3742) +++ branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh2004-11-15 00:31:32 UTC (rev 3743) @@ -10,6 +10,10 @@ ln -s /etc/ldap/schema/$f.schema tests/schema/$f.schema continue; fi + if [ -r /etc/openldap/schema/$f.schema ]; then + ln -s /etc/openldap/schema/$f.schema tests/schema/$f.schema + continue; + fi echo ERROR: you need the following OpenLDAP schema files in tests/schema/ for f in $SCHEMA_NEEDED; do
svn commit: samba r3744 - in branches/SAMBA_4_0/source: auth build/smb_build client lib/dcom libcli libnet torture utils
Author: jelmer Date: 2004-11-15 00:32:37 + (Mon, 15 Nov 2004) New Revision: 3744 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3744 Log: Support building subsystems as a shared library. Modules don't work yet, so while this does compile, it does not work yet. Modified: branches/SAMBA_4_0/source/auth/config.mk branches/SAMBA_4_0/source/build/smb_build/makefile.pm branches/SAMBA_4_0/source/build/smb_build/output.pm branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm branches/SAMBA_4_0/source/client/config.mk branches/SAMBA_4_0/source/lib/dcom/config.mk branches/SAMBA_4_0/source/libcli/libsmb.mk branches/SAMBA_4_0/source/libnet/config.mk branches/SAMBA_4_0/source/torture/config.mk branches/SAMBA_4_0/source/utils/config.mk Changeset: Modified: branches/SAMBA_4_0/source/auth/config.mk === --- branches/SAMBA_4_0/source/auth/config.mk2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/auth/config.mk2004-11-15 00:32:37 UTC (rev 3744) @@ -17,6 +17,7 @@ [MODULE::auth_builtin] INIT_FUNCTION = auth_builtin_init SUBSYSTEM = AUTH +REQUIRED_SUBSYSTEMS = LIBCLI_UTILS INIT_OBJ_FILES = \ auth/auth_builtin.o # End MODULE auth_builtin Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm === --- branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2004-11-15 00:32:37 UTC (rev 3744) @@ -356,7 +356,7 @@ LIBRARY_$ctx-{NAME}_SHARED_LINK_FLAGS =$tmpshflag # -# Shared $ctx-{LIBRARY_REALNAME} +# Shared $ctx-{LIBRARY_NAME} $ctx-{OUTPUT}: \$(LIBRARY_$ctx-{NAME}_DEPEND_LIST) bin/.dummy [EMAIL PROTECTED] Linking \$\@ [EMAIL PROTECTED](SHLD) \$(SHLD_FLAGS) -o \$\@ \\ Modified: branches/SAMBA_4_0/source/build/smb_build/output.pm === --- branches/SAMBA_4_0/source/build/smb_build/output.pm 2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/build/smb_build/output.pm 2004-11-15 00:32:37 UTC (rev 3744) @@ -101,7 +101,8 @@ push(@{$part-{SUBSYSTEM_INIT_FUNCTIONS}}, @{$elem-{INIT_FUNCTION}}) if $part-{OUTPUT_TYPE} eq BINARY and defined($elem-{INIT_FUNCTION}) and - $elem-{INIT_FUNCTION} ne ; + $elem-{INIT_FUNCTION} ne and + $part-{OUTPUT_TYPE} ne SHARED_LIBRARY; } } Modified: branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm === --- branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm2004-11-15 00:32:37 UTC (rev 3744) @@ -64,7 +64,8 @@ next if $key-{OUTPUT_TYPE} ne SHARED_LIBRARY; my $name = $key-{NAME}; - my $func = $key-{INIT_FUNCTION}; + next if not defined($key-{INIT_FUNCTION}); + my $func = join(' ', @{$key-{INIT_FUNCTION}}); next if $func eq ; my $DEFINE = (); Modified: branches/SAMBA_4_0/source/client/config.mk === --- branches/SAMBA_4_0/source/client/config.mk 2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/client/config.mk 2004-11-15 00:32:37 UTC (rev 3744) @@ -10,6 +10,7 @@ CONFIG \ LIBCMDLINE \ LIBBASIC \ - LIBSMB + LIBSMB \ + LIBRPC # End BINARY smbclient # Modified: branches/SAMBA_4_0/source/lib/dcom/config.mk === --- branches/SAMBA_4_0/source/lib/dcom/config.mk2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/lib/dcom/config.mk2004-11-15 00:32:37 UTC (rev 3744) @@ -4,7 +4,7 @@ INIT_OBJ_FILES = \ lib/dcom/common/main.o \ lib/dcom/common/tables.o -REQUIRED_SUBSYSTEMS = LIBRPC +REQUIRED_SUBSYSTEMS = LIBNDR_RAW LIBNDR_GEN LIBRPC_RAW # # End SUBSYSTEM LIBDCOM Modified: branches/SAMBA_4_0/source/libcli/libsmb.mk === --- branches/SAMBA_4_0/source/libcli/libsmb.mk 2004-11-15 00:31:32 UTC (rev 3743) +++ branches/SAMBA_4_0/source/libcli/libsmb.mk 2004-11-15 00:32:37 UTC (rev 3744) @@ -1,5 +1,5 @@ [SUBSYSTEM::LIBSMB] -REQUIRED_SUBSYSTEMS = LIBCLI LIBRPC SOCKET +REQUIRED_SUBSYSTEMS = LIBCLI SOCKET ADD_OBJ_FILES = libcli/clireadwrite.o \
svn commit: lorikeet r129 - in trunk/samba4-ad-thesis: .
Author: abartlet Date: 2004-11-15 01:25:41 + (Mon, 15 Nov 2004) New Revision: 129 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=lorikeetrev=129 Log: Add the presentation of my thesis. Andrew Bartlett Added: trunk/samba4-ad-thesis/thesis-pres.sxi Changeset: Added: trunk/samba4-ad-thesis/thesis-pres.sxi === (Binary files differ) Property changes on: trunk/samba4-ad-thesis/thesis-pres.sxi ___ Name: svn:mime-type + application/octet-stream
svn commit: samba r3745 - in branches/SAMBA_4_0/source: .
Author: tridge Date: 2004-11-15 05:28:11 + (Mon, 15 Nov 2004) New Revision: 3745 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3745 Log: fixed the posix backend after the recent build changes (it had lost the detection of HAVE_XATTR_SUPPORT during configure) Modified: branches/SAMBA_4_0/source/configure.in Changeset: Modified: branches/SAMBA_4_0/source/configure.in === --- branches/SAMBA_4_0/source/configure.in 2004-11-15 00:32:37 UTC (rev 3744) +++ branches/SAMBA_4_0/source/configure.in 2004-11-15 05:28:11 UTC (rev 3745) @@ -24,6 +24,7 @@ SMB_INCLUDE_M4(lib/registry/config.m4) SMB_INCLUDE_M4(scripting/config.m4) SMB_INCLUDE_M4(gtk/config.m4) +SMB_INCLUDE_M4(ntvfs/posix/config.m4) ALLLIBS_LIBS=$LIBS ALLLIBS_CFLAGS=$CFLAGS
svn commit: samba r3747 - in branches/SAMBA_4_0/source: include librpc/idl ntvfs/posix
Author: tridge Date: 2004-11-15 06:57:26 + (Mon, 15 Nov 2004) New Revision: 3747 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3747 Log: - added some of the infrastructure needed for streams support in pvfs (the IDL, and the load/save meta-data logic) - changed pvfs_resolve_name() to default to non-wildcard, needing PVFS_RESOLVE_WILDCARD to enable wildcards. Most callers don't want wildcards, so defaulting this way makes more sense. - fixed deletion of EAs Added: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_streams.c Modified: branches/SAMBA_4_0/source/include/structs.h branches/SAMBA_4_0/source/librpc/idl/xattr.idl branches/SAMBA_4_0/source/ntvfs/posix/config.mk branches/SAMBA_4_0/source/ntvfs/posix/pvfs_mkdir.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_qfileinfo.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_rename.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_resolve.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_setfileinfo.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_unlink.c branches/SAMBA_4_0/source/ntvfs/posix/pvfs_xattr.c branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.h Changeset: Sorry, the patch is too large (395 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3747
svn commit: samba r3748 - in branches/SAMBA_4_0/source/script/tests: .
Author: tridge Date: 2004-11-15 06:59:03 + (Mon, 15 Nov 2004) New Revision: 3748 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3748 Log: pvfs passes RAW-EAS but not RAW-STREAMS yet Modified: branches/SAMBA_4_0/source/script/tests/test_posix.sh Changeset: Modified: branches/SAMBA_4_0/source/script/tests/test_posix.sh === --- branches/SAMBA_4_0/source/script/tests/test_posix.sh2004-11-15 06:57:26 UTC (rev 3747) +++ branches/SAMBA_4_0/source/script/tests/test_posix.sh2004-11-15 06:59:03 UTC (rev 3748) @@ -41,11 +41,10 @@ tests=$tests RAW-QFSINFO RAW-QFILEINFO RAW-SFILEINFO-BUG RAW-SFILEINFO tests=$tests RAW-LOCK RAW-MKDIR RAW-SEEK RAW-CONTEXT RAW-MUX RAW-OPEN RAW-WRITE tests=$tests RAW-UNLINK RAW-READ RAW-CLOSE RAW-IOCTL RAW-SEARCH RAW-CHKPATH RAW-RENAME +tests=$tests RAW-EAS tests=$tests LOCAL-ICONV LOCAL-TALLOC LOCAL-MESSAGING LOCAL-BINDING LOCAL-IDTREE -soon=BASE-CHARSET -soon=$soon RAW-OPLOCK RAW-NOTIFY -soon=$soon BASE-DELAYWRITE +soon=BASE-CHARSET RAW-OPLOCK RAW-NOTIFY BASE-DELAYWRITE RAW-STREAMS for t in $tests; do if [ ! -z $start -a $start != $t ]; then
svn commit: samba r3749 - in branches/SAMBA_4_0/source/torture/local: .
Author: tridge Date: 2004-11-15 07:31:16 + (Mon, 15 Nov 2004) New Revision: 3749 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=3749 Log: don't consider it a failure if we fail to re-encode a codepoint above 1M, or in the case of non-UTF charsets, above 256 Modified: branches/SAMBA_4_0/source/torture/local/iconv.c Changeset: Modified: branches/SAMBA_4_0/source/torture/local/iconv.c === --- branches/SAMBA_4_0/source/torture/local/iconv.c 2004-11-15 06:59:03 UTC (rev 3748) +++ branches/SAMBA_4_0/source/torture/local/iconv.c 2004-11-15 07:31:16 UTC (rev 3749) @@ -128,21 +128,7 @@ last_charset = charset; } -#if 0 - int i; - for (i=0;i50;i++) { - ptr_in = inbuf; - ptr_out = buf1; - size_in1 = size; - outsize1 = sizeof(buf1); - - memset(ptr_out, 0, outsize1); - errno = 0; - ret1 = smb_iconv(cd2, ptr_in, size_in1, ptr_out, outsize1); - errno1 = errno; - } -#endif - + /* internal convert to charset - placing result in buf1 */ ptr_in = inbuf; ptr_out = buf1; size_in1 = size; @@ -153,6 +139,7 @@ ret1 = smb_iconv(cd2, ptr_in, size_in1, ptr_out, outsize1); errno1 = errno; + /* system convert to charset - placing result in buf2 */ ptr_in = inbuf; ptr_out = buf2; size_in2 = size; @@ -221,7 +208,8 @@ ok = 0; } - + + /* convert back to UTF-16, putting result in buf3 */ size = size - size_in1; ptr_in = buf1; ptr_out = buf3; @@ -230,12 +218,26 @@ memset(ptr_out, 0, outsize3); ret3 = smb_iconv(cd3, ptr_in, size_in3, ptr_out, outsize3); - + + /* we only internally support the first 1M codepoints */ + if (outsize3 != sizeof(buf3) - size + get_codepoint(inbuf+sizeof(buf3) - outsize3, + size - (sizeof(buf3) - outsize3), + UTF-16LE) = (120)) { + return ok; + } + if (ret3 != 0) { printf(pull failed - %s\n, strerror(errno)); ok = 0; } - + + if (strncmp(charset, UTF, 3) != 0) { + /* don't expect perfect mappings for non UTF charsets */ + return ok; + } + + if (outsize3 != sizeof(buf3) - size) { printf(wrong outsize3 - %d should be %d\n, outsize3, sizeof(buf3) - size); @@ -245,8 +247,12 @@ if (memcmp(buf3, inbuf, size) != 0) { printf(pull bytes mismatch:\n); show_buf(inbuf, inbuf, size); - show_buf( buf3, buf3, size); + show_buf( buf3, buf3, sizeof(buf3) - outsize3); ok = 0; + printf(next codepoint is %u\n, + get_codepoint(inbuf+sizeof(buf3) - outsize3, +size - (sizeof(buf3) - outsize3), +UTF-16LE)); } if (!ok) {