[Samba] ports

2013-05-09 Thread Jessica Guynn
Is there a parameter for smb config for incoming connections to originate
from ports greater than 1024 (insecure ports)?

If not, can I set the smb ports like this smb ports = 1033 in the global
section?

Thanks guys!

-Jessica
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Take hold Computer name Property/Attribute

2012-01-09 Thread Jessica Guynn
Hi guys,

Back to my old problem.  Successfully integrated windows 2008 ADS with
Samba using winbind and PAM (thanks to Kukks and everyone in the forum and
irc).  By authenticating with ADS I am able to point ownership to a domain
user , but how do you change the computer name field so when subdirectories
and files are created, the computer field is named after the machine that
is mounting the shared directory and created the file instead of the samba
machine server host name.  Computer name property in windows is under file
properties when you right click on the file properties and under details
shows you the computer name field.  Can this be done using smb.conf
parameters or a script or in the windows side?  Below is my smb.conf

#GLOBAL PARAMETERS
[GLOBAL]

   workgroup = ARCH
   realm = ARCH.LOCAL
   netbios name = ARCHPROJ
   password server = 192.168.1.40
   preferred master = no
   server string = %h server (Samba %v, Ubuntu)
   encrypt passwords = true
   enable privileges = Yes
   dns proxy = no
   log level = 3
   log file = /var/log/samba/%m
   max log size = 50
   security = ADS
   printcap name = cups
   printing = cups
   winbind enum users = Yes
   winbind enum groups = Yes
   #winbind nested groups = Yes
   winbind separator = +
   idmap uid = 600-2
   idmap gid = 600-2
   ;template primary group = Domain Users
   template homedir = /home/%D/%U
   template shell = /bin/bash

[WORKSPACE]
   comment = Home Direcotries
   path = /home/ARCH/administrator/Workspace
   valid users = @ARCH+domain users
   read only = No
   browseable = yes
   writable = yes
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Integrate windows ADS Connection

2012-01-06 Thread Jessica Guynn
I got samba with winbind and pam to integrate with windows 2008 ADS.  I am
able to net ads join and also see the users and groups via wbinfo.  But my
samba connection is not working and not showing when I try to mount in
windows.  No errors pop up under smbstatus. Below is the smb.conf

[GLOBAL]

   workgroup = ARCH
   realm = ARCH.LOCAL
   netbios name = ARCHPROJFC

   password server = 192.168.1.40
   preferred master = no
   server string = %h server (Samba %v, Ubuntu)
   encrypt passwords = yes
   enable privileges = Yes
#   dns proxy = no
   log level = 3
   log file = /var/log/samba/%m
   max log size = 50
   security = ADS
   printcap name = cups
   printing = cups
   winbind enum users = Yes
   winbind enum groups = Yes
   winbind nested groups = Yes
   winbind separator = +
   idmap uid = 600-2
   idmap gid = 600-2
   ;template primary group = Domain Users
   template homedir = /home/%D/%U
   template shell = /bin/bash

[WORKSPACE]
   comment = Home Direcotries
   path = /home/%D/%U/Workspace
   valid users = ARCH+Administrator
   read only = No
   browseable = yes
   writable = yes

[PRINTERS]
   comment = All Printers
   path = /var/spool/cups
   browseable = no
   printable = yes
   guest ok = yes
   public = yes

On Wed, Jan 4, 2012 at 9:31 AM, Jessica Guynn jessgu...@gmail.com wrote:

 Used likewise-open because was following a tutorial on that same site.  So
 better change to winbind?

 On Wed, Jan 4, 2012 at 7:40 AM, Volker Lendecke volker.lende...@sernet.de
  wrote:

 On Wed, Jan 04, 2012 at 07:29:11AM -0800, Jessica Guynn wrote:
  Forgot to add, using likewise-open to add the ubuntu machine to the
 windows
  ads.
 
  On Wed, Jan 4, 2012 at 7:20 AM, Jessica Guynn jessgu...@gmail.com
 wrote:
 
   Creating a samba connection through windows 2008 ADS.  I was able to
 add
   my ubuntu machine as a member of the windows 2008 domain but after
   following this tutorial to create the samba connection
  
 http://www.ubuntugeek.com/how-to-integrate-windows-active-directory-and-samba-in-ubuntu.htmlI
   can no longer login with domain users.  My nsswitch.conf, krb5.conf,
 and
   smb.conf files are pasted in:  http://pastebin.com/VKphVVwg

 Can you try to take likewise-open out of the picture? Samba
 with winbind has excellent domain membership features. What
 are the specific likewise open features that you require
 that winbind can not provide to you?

 With best regards,

 Volker Lendecke

 --
 SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
 phone: +49-551-37-0, fax: +49-551-37-9
 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
 http://www.sernet.de, mailto:kont...@sernet.de



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Integrate windows ADS Connection

2012-01-04 Thread Jessica Guynn
Creating a samba connection through windows 2008 ADS.  I was able to add my
ubuntu machine as a member of the windows 2008 domain but after following
this tutorial to create the samba connection
http://www.ubuntugeek.com/how-to-integrate-windows-active-directory-and-samba-in-ubuntu.html
I
can no longer login with domain users.  My nsswitch.conf, krb5.conf, and
smb.conf files are pasted in:  http://pastebin.com/VKphVVwg
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Integrate windows ADS Connection

2012-01-04 Thread Jessica Guynn
Forgot to add, using likewise-open to add the ubuntu machine to the windows
ads.

On Wed, Jan 4, 2012 at 7:20 AM, Jessica Guynn jessgu...@gmail.com wrote:

 Creating a samba connection through windows 2008 ADS.  I was able to add
 my ubuntu machine as a member of the windows 2008 domain but after
 following this tutorial to create the samba connection
 http://www.ubuntugeek.com/how-to-integrate-windows-active-directory-and-samba-in-ubuntu.html
  I
 can no longer login with domain users.  My nsswitch.conf, krb5.conf, and
 smb.conf files are pasted in:  http://pastebin.com/VKphVVwg



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Integrate windows ADS Connection

2012-01-04 Thread Jessica Guynn
Used likewise-open because was following a tutorial on that same site.  So
better change to winbind?
On Wed, Jan 4, 2012 at 7:40 AM, Volker Lendecke
volker.lende...@sernet.dewrote:

 On Wed, Jan 04, 2012 at 07:29:11AM -0800, Jessica Guynn wrote:
  Forgot to add, using likewise-open to add the ubuntu machine to the
 windows
  ads.
 
  On Wed, Jan 4, 2012 at 7:20 AM, Jessica Guynn jessgu...@gmail.com
 wrote:
 
   Creating a samba connection through windows 2008 ADS.  I was able to
 add
   my ubuntu machine as a member of the windows 2008 domain but after
   following this tutorial to create the samba connection
  
 http://www.ubuntugeek.com/how-to-integrate-windows-active-directory-and-samba-in-ubuntu.htmlI
   can no longer login with domain users.  My nsswitch.conf, krb5.conf,
 and
   smb.conf files are pasted in:  http://pastebin.com/VKphVVwg

 Can you try to take likewise-open out of the picture? Samba
 with winbind has excellent domain membership features. What
 are the specific likewise open features that you require
 that winbind can not provide to you?

 With best regards,

 Volker Lendecke

 --
 SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
 phone: +49-551-37-0, fax: +49-551-37-9
 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
 http://www.sernet.de, mailto:kont...@sernet.de

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] All read and write

2011-12-19 Thread Jessica Guynn
Hey Guys,

this is my updated smb.conf.  I am mapping any windows users to ubuntu user
nobody.  So I added a username map to file smbusers with (nobody = *).
 When I try to mount the volume in windows, gives me a login window.  None
of the windows users work and I tried using the ubuntu users as well, does
not work.  Any ideas???


Takahashi Motonobu,  I did also grant SeTakeOwnershipPrivilege
and SeRestorePrivilege user rights to nobody and Everyone.

/etc/samba/smbusers
nobody = *

[global]
username map = /etc/samba/smbusers
   netbios name = ARCHPROJFC
   workgroup = WORKGROUP
   server string = %h server (Samba, Ubuntu)
   dns proxy = no
   interfaces = lo eth0
  bind interfaces only = yes
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   security = user

 map to guest = bad user
 guest account = nobody
# kernel oplocks = no
# level2 oplocks = no
# oplocks = no
  share modes = no

   encrypt passwords = true
   obey pam restrictions = yes

   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

   pam password change = yes


#=== Share Definitions ===

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home director as \\server\username
[Workspace]
;   comment = Home Directories
 #   kernel oplocks = no
 #   level2 oplocks = no
 #   oplocks = no
 dos filemode = yes
path = /home/archproj/Workspace
veto oplock files = /*.avs/*.avp/
read only = no
browseable = yes
guest ok = yes
guest only = yes
inherit owner = yes
inherit permissions= yes
force user = nobody
locking = no
write list = nobody
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] All read and write

2011-12-19 Thread Jessica Guynn
Hi guys,

oops... it does work when I type in guest as login. lol.. I did make guest
only...lol  Anyways, still gives me locking when trying to write to the
directory.  Should I just have any window users have full write and read
and take ownership because when checking for the ownership of the files and
folders created by the windows program, it points to nobody instead of the
window users. Any ideas and solutions??

Thanks again for all your help.

Jess
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] All read and write

2011-12-16 Thread Jessica Guynn
There is no user other?  From kukks suggestion, still getting DENY_NONE
RDONLY.  I search that error and read a comment that samba locks
directories when opened in windows client.  How can you disable that?  This
might be my issue because the windows program I am using needs the
directories not to be lock, and gives me the error the the directories are
lock for write.


Any ideas??

Thanks,

Jess

On Thu, Dec 15, 2011 at 11:55 PM, Daniel Müller muel...@tropenklinik.dewrote:

 What are your rights from prompt:

 Ls -la yourshare

 Does other have  drwxr-xr-x 
 If your path is within another directory, other must have the x options
 even
 in the directory above.
 This solved a nearly the same problem for me in CENTOS.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] All read and write

2011-12-15 Thread Jessica Guynn
Got few help, but still not working.  Anyone know the configuration for
full read and write for everyone.  So no security needed or permission,
ownership, or objects.  Just full read and write for everyone.

All the different configurations that I have tried (these are 3 separate
smb.conf config and NOT all together):

security = SHARE

[Share]

path = /home/project
public = yes
writeable = yes
read only = no
browseable = yes
locking = no
strict locking = no
create mask = 777
directory mask = 777
force directory mode = 777

security = share

[Share]

   path = /home/project
   browseable = yes
   guest ok = yes
   read only = no
   hide files = /lost+found/
   force directory mode = 777
   force create mode = 666
   directory mask = 777
   create mask = 666

and this

security=user

[Share]
 path = /home/project
 public = yes
 writeable = yes
 browseable = yes
 guest ok = yes
 guest account = Everyone
 create mask = 777
 directory mask = 777

I am able to create file and folders, but folders I create I can't take
ownership and is still lock.  Any ideas?   Sharing Ubuntu volume and
mounting it into windows 7.  So want so there's no security tab when
checking the properties in Windows and just have all read and write.

Thanks,

Jessica
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] All read and write

2011-12-15 Thread Jessica Guynn
BTW, this is my smbstatus:

PID   UID DenyMode  Access   R/W  OpLock  Share
5773 65534  DENY_NONE  0x100081RDONLY   NONE   /home/project

On Thu, Dec 15, 2011 at 2:35 PM, Jessica Guynn jessgu...@gmail.com wrote:

 Got few help, but still not working.  Anyone know the configuration for
 full read and write for everyone.  So no security needed or permission,
 ownership, or objects.  Just full read and write for everyone.

 All the different configurations that I have tried (these are 3 separate
 smb.conf config and NOT all together):

 security = SHARE

 [Share]

 path = /home/project
 public = yes
 writeable = yes
 read only = no
 browseable = yes
 locking = no
 strict locking = no
 create mask = 777
 directory mask = 777
 force directory mode = 777

 security = share

 [Share]

path = /home/project

browseable = yes
guest ok = yes
read only = no
hide files = /lost+found/
force directory mode = 777
force create mode = 666
directory mask = 777
create mask = 666

 and this

 security=user

 [Share]
  path = /home/project
  public = yes
  writeable = yes
  browseable = yes
  guest ok = yes
  guest account = Everyone
  create mask = 777
  directory mask = 777

 I am able to create file and folders, but folders I create I can't take
 ownership and is still lock.  Any ideas?   Sharing Ubuntu volume and
 mounting it into windows 7.  So want so there's no security tab when
 checking the properties in Windows and just have all read and write.

 Thanks,

 Jessica


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] All read and write

2011-12-14 Thread Jessica Guynn
Louis,

Same result, can't write on lock folder.  This is my log.smbd when using
your example

[2011/12/14 12:40:03.076573,  1] smbd/server.c:282(remove_
child_pid)
  Could not find child 2596 -- ignoring
[2011/12/14 12:47:08,  0] smbd/server.c:1141(main)
  smbd version 3.5.11 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/12/14 12:47:08.117468,  0] smbd/server.c:1187(main)
  standard input is not a socket, assuming -D option

Fajar,
Below is my log.smbd with my config

[2011/12/14 10:03:58.591741,  1] smbd/server.c:282(remove_child_pid)
  Could not find child 1696 -- ignoring
[2011/12/14 10:16:58.986687,  1] smbd/server.c:282(remove_child_pid)
  Could not find child 1716 -- ignoring
[2011/12/14 10:29:59.302337,  1] smbd/server.c:282(remove_child_pid)
  Could not find child 2187 -- ignoring
[2011/12/14 10:42:59.673378,  1] smbd/server.c:282(remove_child_pid)
  Could not find child 2341 -- ignoring


Thanks,

Jess.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] All read and write

2011-12-13 Thread Jessica Guynn
I have problems in creating all read and write samba connection.  I am
mounting an Ubuntu share to windows.  A program I used in windows is able
to create folders and files but unable to have ownership of the folder or
write on the folder because once the folder is created, it is lock.


Here is my configuration:

security = SHARE

[Share]

path = /home/project
public = yes
writeable = yes
read only = no
browseable = yes
locking = no
strict locking = no
create mask = 777
directory mask = 777
force directory mode = 777


I have tried force security mode, inherit permissions, inherit owner as
well.  Is there any way so when I am connected, permissions, ownership,
user, group objects are disabled, and I have full read and write for any
users that mount to the share?



--
Jessica Guynn
jessguynn at gmail.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba