[Samba] Installing windows drivers into print$ on OS X 10.5 Leopard
Has anyone had any success installing windows printer drivers onto a leopard-hosted print$ share? If I use the Add Printer Wizard method, if copies the driver files to \ \SERVER\print$\W32X86 then fails with an Operation cannot be completed. If I use the rpcclient method I get a WERR_INVALID_PARAM error. Using the Adobe Generic PostScript driver as an example. osxserver:W32X86 root# ls -l total 2832 drwxrwxr-x 2 root domainadmins 68 Oct 25 23:16 0 drwxrwxr-x 2 root domainadmins 68 Oct 25 23:16 2 drwxrwxr-x 2 root domainadmins 68 Oct 26 00:00 3 -rw-r--r-- 1 fred domainadmins 13492 Oct 26 01:43 DEFPRTR2.PPD -rw-r--r-- 1 fred domainadmins 135248 Oct 26 01:43 PS5UI.DLL -rw-r--r-- 1 fred domainadmins 26056 Oct 26 01:43 PSCRIPT.HLP -rw-r--r-- 1 fred domainadmins 792644 Oct 26 01:43 PSCRIPT.NTF -rw-r--r-- 1 fred domainadmins 470608 Oct 26 01:43 PSCRIPT5.DLL osxserver:W32X86 root# rpcclient localhost -d3 -Ufred%password -c 'adddriver Windows NT x86 genericps:PSCRIPT5 .DLL:DEFPRTR2.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:PSCRIPT.NTF' added interface ip=192.168.223.13 bcast=192.168.223.255 nmask=255.255.255.0 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file /private/etc/ smb.conf Processing section [global] params.c:pm_process() - Processing configuration file /var/db/smb.conf Processing section [global] Processing section [global] Connecting to host=localhost Connecting to 127.0.0.1 at port 445 Doing spnego session setup (blob length=126) got OID=1 2 840 113554 1 2 2 got OID=1 2 840 48018 1 2 2 got OID=1 3 6 1 4 1 311 2 2 10 got principal=cifs/[EMAIL PROTECTED] Got challenge flags: Got NTLMSSP neg_flags=0x40898215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x40088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x40088215 rpc_pipe_bind: Remote machine localhost pipe \lsarpc fnum 0x7400 bind request returned ok. lsa_io_sec_qos: length c does not match size 8 rpc_pipe_bind: Remote machine localhost pipe \spoolss fnum 0x7401 bind request returned ok. result was WERR_INVALID_PARAM smb.log shows this: osxserver (127.0.0.1) connect to service print$ initially as user fred (uid=1025, gid=20) (pid 36350) [2008/10/26 02:01:50, 2, pid=36350] /SourceCache/samba/samba-187.8/ samba/source/smbd/open.c:open_file(391) fred opened file W32X86/PSCRIPT5.DLL read=Yes write=No (numopen=1) [2008/10/26 02:01:50, 2, pid=36350] /SourceCache/samba/samba-187.8/ samba/source/smbd/close.c:close_normal_file(399) fred closed file W32X86/PSCRIPT5.DLL (numopen=0) NT_STATUS_OK [2008/10/26 02:01:50, 1, pid=36350] /SourceCache/samba/samba-187.8/ samba/source/smbd/service.c:close_cnum(1284) osxserver (127.0.0.1) closed connection to service print$ User fred is a member of Admins and Domain Admins and I have explicitly added SePrintOperatorPrivilege to EXAMPLE\Domain Admins (it didn't help.) This used to work great on 10.4... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba findsmb and smbtree inconsistent
I have a samba server 3.0.28a set up on ubuntu 8.04, which is accessed by a windows xp client. The windows machine can see and download all the shared folders from the linux machine, and the linux machine can download from the windows machine with smbclient. However, when I issue findsmb the linux machine only reports itself, not the windows machine. The man pages show it printing a list of machines for the entire network. Why is findsmb not listing the windows machine? Even though file and printer sharing is enabled in windows firewall findsmb still doesn't list the windows machine. I also tried disabling windows firewall, still nothing. I allow all traffic to my linux machine from lan interface (currently). This problem is somewhat similar to http://lists.samba.org/archive/samba/2008-April/139914.html. Secondly, smbtree doesn't always return consistent results. When I restart my windows machine and do a smbtree from the linux machine, all of the shared folders for linux and windows are listed. Then a few minutes later smbtree may only lists linux shared folders. It seems inconsistent, is this normal? smbstatus seems to work. When I'm connected to a linux shared folder smbstatus lists the connection. Also, I added samba as a netbios server to dhcpd.conf, and configured it as a domain master. -- View this message in context: http://www.nabble.com/Samba-findsmb-and-smbtree-inconsistent-tp20176018p20176018.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing files and folders on Vista
Antoine Leblanc a écrit : As I answered to Damien, I also never had that kind of problem when using an earlier version of Samba on Gentoo. I'm starting to think this might be a FreeBSD issue... Well... I think I found the problem. I'm not sure how to fix it... The partition which contains the data is in ext3 and loaded with ext2fs ; when I tried Samba with files that were on a FreeBSD native partition it worked fine, I could see folders containing thousands of sub-folders without any problem. What I don't understand, though, is that while sshed on the FreeBSD server I can see all the files without any problem: I don't know if the bug comes from ext2fs or Samba... Thank you in advance for any help. -- Antoine Leblanc -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] how to setup an open share?
Using samba-3.2.4, on Fedora 9. I want to create a universally writeable, browseable share. If you're on the network, you can use it. No passwords, any user. Which I tried to do with this smb.conf, which doesn't work from Windows: [global] workgroup = NEW_NET server string = asterisk server in closet netbios name = Video_Server_in_Closet bind interfaces only = yes interfaces = lo 10.10.11.0/24 log file = /var/log/samba/log.%m max log size = 50 log level = 3 security = user passdb backend = tdbsam domain master = no preferred master = no guest ok = yes browseable = yes [storage] comment = Video-storage path = /home/video/storage writeable = yes browseable = yes public = yes guest ok = yes From another linux box, smbclient \\server\storage asks for root's password, but just hitting enter gets me in. OTOH, on windows ( vista) I get a request for user and password :( I want to be able to just click on it in Windows and access it. Is the problem it's in /home/video? move it to /opt?? Any help appreciated. sean -- 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 setup an open share?
I want to create a universally writeable, browseable share. If you're on the network, you can use it. No passwords, any user. Easy. [global] snip guest ok = yes browseable = yes These two lines apply to individual shares, don't put them in the global section. Add a map to guest line, probably map to guest = bad user. [storage] snip public = yes guest ok = yes These mean the same thing, get rid of one of them. Is the problem it's in /home/video? move it to /opt?? The specific location on the filesystem isn't important as long as your guest user has rwx permissions in the relevant location. *Michael Heydon - IT Administrator * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] force user and read only
The folder is owned by a local group which belongs to the application. And I dont want to add developers to this application group. I did it now with the force user option and read only. This way I can make sure that they can always read the application logs (because they are owned by the app user) and they are not allowed to write in to that share. And I dont have to maintain group memberships, acls or file permissions. The more I think about the combination of this 2 options, the more I like it... :-) Do you see any risk if I force to use root WITH read-only? On Fri, Oct 24, 2008 at 4:25 PM, Dennis B. Hopp [EMAIL PROTECTED] wrote: On Fri, 2008-10-24 at 17:08 +0200, Urs Golla wrote: This works only if the samba user is also the owner of the file. Please CC the list so that other users can benefit from this conversation and if I'm mistaken, somebody else can correct me. The users (or groups) will still need file system permissions to access the directories/files, regardless of what samba gives them access to. So you will need to make sure the permissions on the Linux file system allow those users/groups access. You could place all the developers in a group and give that group read access (so mode 740). And then in the smb.conf file use valid users = @MYDOMAIN+DEVELOPERGROUP (the @ sign may have to go outside the quotes, I can't remember off the top of my head) Or maybe a better option is the read list option instead of valid users If you aren't using groups (or need more then one group to access it) then you will need to have the file system mounted with the acl option so that you can place extended acls on the directories for each user/group. --Dennis On Fri, Oct 24, 2008 at 5:00 PM, Dennis B. Hopp [EMAIL PROTECTED] wrote: On Fri, 2008-10-24 at 08:45 +0200, Urs Golla wrote: Hi I need a share with read-only access for some developers (to read logfiles). the logfiles are owned by the application user and group and have 700 permissions. I have set up the share like this: path = /applicationx/logs read only = Yes valid users = MYDOMAIN+DEVELOPER1 force user = applicationx You shouldn't need the force user setting if this is read only. That setting is so that samba will force that user to be the owner of any files written to the share. If you want it to be read only, the only thing you should have to set is read only = yes. --Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Build status as of Mon Oct 27 00:00:02 2008
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2008-10-26 00:01:34.0 + +++ /home/build/master/cache/broken_results.txt 2008-10-27 00:00:27.0 + @@ -1,22 +1,22 @@ -Build status as of Sun Oct 26 00:00:02 2008 +Build status as of Mon Oct 27 00:00:02 2008 Build counts: Tree Total Broken Panic build_farm 0 0 0 -ccache 32 7 0 +ccache 33 7 0 ctdb 0 0 0 distcc 1 0 0 ldb 33 32 0 -libreplace 32 12 0 +libreplace 31 12 0 lorikeet-heimdal 29 20 0 pidl 19 3 0 ppp 13 13 0 rsync33 10 0 samba-docs 0 0 0 samba-gtk8 8 0 -samba_3_X_devel 30 20 0 +samba_3_X_devel 30 19 0 samba_3_X_test 29 17 0 -samba_4_0_test 32 27 1 +samba_4_0_test 32 28 1 smb-build31 6 0 talloc 33 32 0 tdb 33 12 0