Re: [smartos-discuss] granular control using RBAC/LDAP

2014-07-30 Thread Coy Hile via smartos-discuss

On Jul 30, 2014, at 3:15 AM, Lloyd Parkes ll...@must-have-coffee.gen.nz wrote:

 The solution I've used the past is really quite heavyweight, so apologies in 
 advance. I used Oracle Virtual Directory to create the LDAP entries on the 
 fly based on information in backend LDAP (or other) systems. Since the LDAP 
 entries are built on the fly, you should be able to arrange it so that the 
 production cluster sees different information for the web developer than what 
 the developer's personal dev machines see. I haven't played this particular 
 game with OVD, but this technology does seem to be available. 
 

That’s honestly not a solution that had crossed my mind.  Some convoluted 
overlays and such could do exactly what I want once I get around to figuring 
out the various rewriting bits.  I’ll have to look into the OpenLDAP rewrite 
support.  Now, because I may be able to swing something similar at $DAYJOB 
(where I’m saddled with both Oracle Solaris 11 (in addition to Linux and AIX) 
and AD as the LDAP backend (ugh!)), anybody have any ideas how to accomplish 
this when AD is the backend? :-)

-c


---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


smime.p7s
Description: S/MIME cryptographic signature


[smartos-discuss] smartos networking - kvm - public bridge

2014-07-30 Thread Philip Brown via smartos-discuss
Hello,

I want to assign an IP address to my virtual machines and make them
accessible from my local network as outlined here:

http://www.linux-kvm.org/page/Networking#public_bridge

Could somebody please direct me to documentaion for smartos in regards to
this.

kind regards,

Philip



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] smartos networking - kvm - public bridge

2014-07-30 Thread John Croix via smartos-discuss
If you control the router, use the MAC address of the VM to tell the router to 
give it a fixed IP address. The VM uses DHCP to acquire the IP address, and the 
router gives it the same address every time.

John

On Jul 30, 2014, at 2:24 PM, Philip Brown via smartos-discuss 
smartos-discuss@lists.smartos.org wrote:

 Hello,
 
 I want to assign an IP address to my virtual machines and make them 
 accessible from my local network as outlined here:
 
 http://www.linux-kvm.org/page/Networking#public_bridge
 
 Could somebody please direct me to documentaion for smartos in regards to 
 this.
 
 kind regards,
 
 Philip
 smartos-discuss | Archives  | Modify Your Subscription 




---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


[smartos-discuss] debian-7 20140729 image now available

2014-07-30 Thread Christopher Horrell via smartos-discuss
Hi everyone,

We just released the debian-7 20140729 to images.joyent.com.

This is a Debian 7.6 image and addresses an issue where cdrom sources were 
included in /etc/apt/sources.list 

Documentation and release notes can be found here:

http://wiki.joyent.com/jpc2/Debian

Regards,
--
Christopher Horrell
Manager, Solutions Engineering
Joyent Inc.
http://www.joyent.com/











---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


signature.asc
Description: Message signed with OpenPGP using GPGMail


[smartos-discuss] Re: smartos networking - kvm - public bridge

2014-07-30 Thread Philip Brown via smartos-discuss
Thanks for the replies. It is a private box in-house but these pointers
should get me started.
Philip
On 30/07/2014 9:24 PM, Philip Brown philipbrown...@gmail.com wrote:

 Hello,

 I want to assign an IP address to my virtual machines and make them
 accessible from my local network as outlined here:

 http://www.linux-kvm.org/page/Networking#public_bridge

 Could somebody please direct me to documentaion for smartos in regards to
 this.

 kind regards,

 Philip




---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


[smartos-discuss] epoll_ctl and epoll_wait on SmartOS

2014-07-30 Thread Youzhong Yang via smartos-discuss
Hi All,

The man page of epoll_ctl says:

 The data field specifies the datum  to  be  associated  with  the
 event  and  will be returned via epoll_wait(3C). The events field
 denotes both the desired events (when specified via  epoll_ctl())
 and   the   events   that   have   occurred  (when  returned  via
 epoll_wait(3C)).

This does not seem to be the case and is not compatible with Linux's
implementation. Recently I tried to compile Samba 4.1.10 on smartos and
'net ads join' just crashes. Samba uses epoll_event.data.ptr to keep track
of its tevent_fd data but epoll_ctl() on smartos simply ignores it and does
not keep a copy of the 'data' structure and returns it when epoll_wait is
called.

Can I assume this is an implementation specific bug?

Thanks,

-Youzhong



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] epoll_ctl and epoll_wait on SmartOS

2014-07-30 Thread Bryan Cantrill via smartos-discuss
Seems like a bug, but not sure I entirely understand:  there may be some
edge conditions where data specified in the data field of the epoll_event
structure via epoll_ctl() is not properly returned, but it's not true that
SmartOS simply ignores it.  Take, for example, the following program:

  https://us-east.manta.joyent.com/bcantrill/public/epoll_add.c

(It's essentially the most basic possible use of epoll(5).)  Compiling that
program and running it yields (for me, anyway) the same result on SmartOS
as it does on Linux:

  $ ./epoll_add
  writing to pipe
  adding event...
  parent: got an event on fd 4

I certainly don't doubt that there's a bug here -- I just don't think it's
quite as broad as you're implying; could you point me to the core file for
Samba and/or instructions as to how to reproduce the issue?

- Bryan



On Wed, Jul 30, 2014 at 2:08 PM, Youzhong Yang via smartos-discuss 
smartos-discuss@lists.smartos.org wrote:

 Hi All,

 The man page of epoll_ctl says:

  The data field specifies the datum  to  be  associated  with  the
  event  and  will be returned via epoll_wait(3C). The events field
  denotes both the desired events (when specified via  epoll_ctl())
  and   the   events   that   have   occurred  (when  returned  via
  epoll_wait(3C)).

 This does not seem to be the case and is not compatible with Linux's
 implementation. Recently I tried to compile Samba 4.1.10 on smartos and
 'net ads join' just crashes. Samba uses epoll_event.data.ptr to keep track
 of its tevent_fd data but epoll_ctl() on smartos simply ignores it and does
 not keep a copy of the 'data' structure and returns it when epoll_wait is
 called.

 Can I assume this is an implementation specific bug?

 Thanks,

 -Youzhong
 *smartos-discuss* | Archives
 https://www.listbox.com/member/archive/184463/=now
 https://www.listbox.com/member/archive/rss/184463/21493597-819305a5 |
 Modify
 https://www.listbox.com/member/?;
 Your Subscription http://www.listbox.com




---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com